Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0019/0.001901, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002886/0.002885, allocations: 195.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.458/2.458, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.66/3.66, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.98 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3369, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01285/0.3498, allocations: 10.87 MB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.3625, allocations: 8.71 MB / 1.072 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.3641, allocations: 51.69 kB / 1.072 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.3684, allocations: 1.575 MB / 1.073 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004714/0.3731, allocations: 1.395 MB / 1.074 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.375, allocations: 0.6123 MB / 1.075 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003135/0.3781, allocations: 2.286 MB / 1.077 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.3805, allocations: 1.551 MB / 1.079 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.3822, allocations: 0.9963 MB / 1.08 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.384, allocations: 1.055 MB / 1.081 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004429/0.3844, allocations: 139.9 kB / 1.081 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.3862, allocations: 0.7993 MB / 1.082 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008015/0.387, allocations: 0.5687 MB / 1.082 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.3885, allocations: 0.8784 MB / 1.083 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.3921, allocations: 2.593 MB / 1.086 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3921, allocations: 0 / 1.086 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3921, allocations: 0 / 1.086 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.489e-05/0.3922, allocations: 3.984 kB / 1.086 GB, free: 6.449 MB / 0.8419 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.3965, allocations: 2.018 MB / 1.088 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3966, allocations: 8.625 kB / 1.088 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003597/0.3969, allocations: 190.1 kB / 1.088 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.4075, allocations: 2.05 MB / 1.09 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.41, allocations: 1.122 MB / 1.091 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/0.4101, allocations: 86.69 kB / 1.091 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/0.4105, allocations: 119.9 kB / 1.091 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005826/0.4164, allocations: 2.482 MB / 1.094 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.4165, allocations: 7.938 kB / 1.094 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.4167, allocations: 51.98 kB / 1.094 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003283/0.417, allocations: 134.1 kB / 1.094 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006831/0.4238, allocations: 2.537 MB / 1.096 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.4369, allocations: 10.08 MB / 1.106 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005525/0.4424, allocations: 1.945 MB / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.4449, allocations: 0.9777 MB / 1.109 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.4449, allocations: 4.438 kB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.445, allocations: 39 kB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.445, allocations: 0 / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81): time 0.02824/0.4732, allocations: 8.707 MB / 1.117 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4733, allocations: 64 kB / 1.118 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.4746, allocations: 1.105 MB / 1.119 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.4747, allocations: 41.7 kB / 1.119 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/0.4752, allocations: 0.7341 MB / 1.119 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.4754, allocations: 279.9 kB / 1.12 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.4758, allocations: 198.4 kB / 1.12 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4759, allocations: 341.9 kB / 1.12 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.4786, allocations: 1.079 MB / 1.121 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00304/0.4816, allocations: 1.305 MB / 1.122 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/0.4873, allocations: 2.378 MB / 1.125 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.4873, allocations: 8 kB / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008611/0.4959, allocations: 3.273 MB / 1.128 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.496, allocations: 11.94 kB / 1.128 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.496, allocations: 8 kB / 1.128 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0029/0.4989, allocations: 0.7953 MB / 1.129 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.5007, allocations: 419.2 kB / 1.129 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/0.5165, allocations: 15.94 MB / 1.145 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.5186, allocations: 291.5 kB / 1.145 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.5187, allocations: 47.97 kB / 1.145 GB, free: 7.129 MB / 0.9044 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.0007204/0.5195, allocations: 408.8 kB / 1.145 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.5198, allocations: 142.3 kB / 1.146 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008196/0.528, allocations: 3.206 MB / 1.149 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.528, allocations: 8 kB / 1.149 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.528, allocations: 8 kB / 1.149 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5281, allocations: 3.984 kB / 1.149 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.5386, allocations: 4.912 MB / 1.154 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5386, allocations: 0 / 1.154 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.5401, allocations: 355.4 kB / 1.154 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/0.5424, allocations: 0.6978 MB / 1.155 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.662e-05/0.5425, allocations: 31.97 kB / 1.155 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.5567, allocations: 15.53 MB / 1.17 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.5567, allocations: 7.938 kB / 1.17 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007512/0.5642, allocations: 3.046 MB / 1.173 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000709/0.5649, allocations: 383.1 kB / 1.173 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.5652, allocations: 20 kB / 1.173 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.567, allocations: 291.4 kB / 1.173 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.5672, allocations: 84.48 kB / 1.174 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/0.5673, allocations: 39.97 kB / 1.174 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009929/0.5683, allocations: 0.7366 MB / 1.174 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5683, allocations: 0 / 1.174 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001418/0.5697, allocations: 436 kB / 1.175 GB, free: 7.402 MB / 0.9356 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.007672/0.5774, allocations: 3.618 MB / 1.178 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008063/0.5855, allocations: 3.754 MB / 1.182 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.5855, allocations: 0 / 1.182 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004566/0.5901, allocations: 2.375 MB / 1.184 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.5924, allocations: 0.52 MB / 1.185 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03254/0.6249, allocations: 17.13 MB / 1.201 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.626, allocations: 1.392 MB / 1.203 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00149/0.6275, allocations: 367.9 kB / 1.203 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007922/0.6283, allocations: 0.6047 MB / 1.204 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.6284, allocations: 0 / 1.204 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.059/4.688, allocations: 41.31 MB / 1.244 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004671/4.688, allocations: 230.5 kB / 1.244 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/8.526, allocations: 0 / 1.244 GB, free: 184.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches