Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 110.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 75.88 kB / 1.056 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8406, allocations: 160.7 MB / 1.213 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01559/0.8562, allocations: 11.05 MB / 1.224 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.8731, allocations: 8.899 MB / 1.232 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.8751, allocations: 59.62 kB / 1.232 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005311/0.8804, allocations: 1.693 MB / 1.234 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006847/0.8872, allocations: 1.564 MB / 1.236 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.8899, allocations: 0.6716 MB / 1.236 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004482/0.8944, allocations: 2.284 MB / 1.239 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.8965, allocations: 1.099 MB / 1.24 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.8986, allocations: 1.012 MB / 1.241 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.9006, allocations: 1.07 MB / 1.242 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.901, allocations: 136 kB / 1.242 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.9028, allocations: 0.8188 MB / 1.243 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00072/0.9035, allocations: 0.5762 MB / 1.243 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.9048, allocations: 0.8939 MB / 1.244 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.9093, allocations: 2.564 MB / 1.246 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9093, allocations: 0 / 1.246 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9093, allocations: 4 kB / 1.246 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.542e-05/0.9094, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004269/0.9137, allocations: 2.074 MB / 1.249 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.9137, allocations: 12.62 kB / 1.249 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002695/0.914, allocations: 190 kB / 1.249 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.9251, allocations: 2.059 MB / 1.251 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.9283, allocations: 1.217 MB / 1.252 GB, free: 52 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.9285, allocations: 86.77 kB / 1.252 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/0.9288, allocations: 127.8 kB / 1.252 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005993/0.9348, allocations: 2.474 MB / 1.255 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/0.9349, allocations: 11.94 kB / 1.255 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.935, allocations: 51.98 kB / 1.255 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003637/0.9354, allocations: 130.1 kB / 1.255 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007491/0.9429, allocations: 2.545 MB / 1.257 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.9594, allocations: 10.05 MB / 1.267 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006088/0.9655, allocations: 1.922 MB / 1.269 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/0.9682, allocations: 0.9425 MB / 1.27 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.9683, allocations: 4.438 kB / 1.27 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.9683, allocations: 39 kB / 1.27 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.985e-06/0.9683, allocations: 4 kB / 1.27 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.03183/1, allocations: 8.713 MB / 1.278 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1, allocations: 64 kB / 1.278 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/1.002, allocations: 1.093 MB / 1.28 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/1.002, allocations: 37.7 kB / 1.28 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/1.003, allocations: 0.7551 MB / 1.28 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/1.003, allocations: 293.5 kB / 1.281 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/1.003, allocations: 198.5 kB / 1.281 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.004, allocations: 349.9 kB / 1.281 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/1.007, allocations: 1.067 MB / 1.282 GB, free: 156 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/1.01, allocations: 1.305 MB / 1.283 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006091/1.016, allocations: 2.386 MB / 1.286 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.016, allocations: 0 / 1.286 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009026/1.025, allocations: 3.257 MB / 1.289 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/1.025, allocations: 11.94 kB / 1.289 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.025, allocations: 8.875 kB / 1.289 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/1.028, allocations: 0.791 MB / 1.29 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/1.03, allocations: 415.3 kB / 1.29 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/1.048, allocations: 15.93 MB / 1.306 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/1.05, allocations: 287.5 kB / 1.306 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/1.051, allocations: 47.97 kB / 1.306 GB, free: 6.344 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008663/1.051, allocations: 409.4 kB / 1.306 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/1.052, allocations: 151.1 kB / 1.307 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008888/1.061, allocations: 3.179 MB / 1.31 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.061, allocations: 8 kB / 1.31 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/1.061, allocations: 8 kB / 1.31 GB, free: 2.555 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.061, allocations: 3.984 kB / 1.31 GB, free: 2.551 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.073, allocations: 4.882 MB / 1.314 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.073, allocations: 4.344 kB / 1.314 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.074, allocations: 355.4 kB / 1.315 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/1.077, allocations: 0.7092 MB / 1.315 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.077, allocations: 27.97 kB / 1.315 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/1.094, allocations: 15.53 MB / 1.331 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.094, allocations: 7.938 kB / 1.331 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008486/1.103, allocations: 3.009 MB / 1.334 GB, free: 8.676 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.104, allocations: 396 kB / 1.334 GB, free: 8.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/1.104, allocations: 23.98 kB / 1.334 GB, free: 8.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/1.106, allocations: 287.5 kB / 1.334 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/1.107, allocations: 84.48 kB / 1.334 GB, free: 7.883 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.107, allocations: 35.97 kB / 1.334 GB, free: 7.848 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00145/1.108, allocations: 0.7405 MB / 1.335 GB, free: 7.105 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.51e-07/1.108, allocations: 0 / 1.335 GB, free: 7.105 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002943/1.111, allocations: 435.9 kB / 1.336 GB, free: 6.68 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/1.123, allocations: 3.589 MB / 1.339 GB, free: 3.004 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009383/1.133, allocations: 3.519 MB / 1.342 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.133, allocations: 0 / 1.342 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005689/1.138, allocations: 2.328 MB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.141, allocations: 0.5163 MB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/1.18, allocations: 15.81 MB / 1.361 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/1.182, allocations: 1.388 MB / 1.362 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001637/1.183, allocations: 383.8 kB / 1.362 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.185, allocations: 0.6008 MB / 1.363 GB, free: 9.809 MB / 1.076 GB Notification: Performance of SimCode: time 2.425e-06/1.185, allocations: 0 / 1.363 GB, free: 9.809 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/1.325, allocations: 41.75 MB / 1.404 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.89, allocations: 8.047 kB / 1.404 GB, free: 0.5781 MB / 1.107 GB " [Timeout remaining time 283] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.850654484704137]