Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0016/0.0016, 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.002052/0.002053, allocations: 190.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.841/1.841, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.547/3.547, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.88 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3532, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008885/0.3622, allocations: 6.733 MB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004981/0.3672, allocations: 3.04 MB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007044/0.3679, allocations: 19.88 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.3704, allocations: 0.8943 MB / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.3717, allocations: 473.7 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3728, allocations: 390.1 kB / 1.064 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.3744, allocations: 1.224 MB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.3755, allocations: 0.7289 MB / 1.066 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.3763, allocations: 486.2 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008231/0.3772, allocations: 0.5332 MB / 1.067 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.3773, allocations: 72 kB / 1.067 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007036/0.378, allocations: 375.2 kB / 1.067 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.3784, allocations: 307.2 kB / 1.067 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.3789, allocations: 449.7 kB / 1.068 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.3802, allocations: 1.234 MB / 1.069 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3802, allocations: 0 / 1.069 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3802, allocations: 0 / 1.069 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3803, allocations: 0 / 1.069 GB, free: 7.672 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001748/0.382, allocations: 1.157 MB / 1.07 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3821, allocations: 8.625 kB / 1.07 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.3822, allocations: 122.6 kB / 1.07 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.3837, allocations: 231.7 kB / 1.07 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000726/0.3844, allocations: 0.5453 MB / 1.071 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.3844, allocations: 49.67 kB / 1.071 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.3845, allocations: 64.36 kB / 1.071 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.3859, allocations: 1.093 MB / 1.072 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.386, allocations: 7.906 kB / 1.072 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.3861, allocations: 31.92 kB / 1.072 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.3862, allocations: 93.12 kB / 1.072 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.3873, allocations: 0.7504 MB / 1.073 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/0.3922, allocations: 5.893 MB / 1.079 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.3931, allocations: 0.5466 MB / 1.079 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.3935, allocations: 334 kB / 1.08 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3936, allocations: 4.438 kB / 1.08 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3936, allocations: 43 kB / 1.08 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.663e-06/0.3936, allocations: 0 / 1.08 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003555/0.3972, allocations: 1.982 MB / 1.082 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3972, allocations: 59.84 kB / 1.082 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.3978, allocations: 0.5509 MB / 1.082 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.3979, allocations: 33.7 kB / 1.082 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.3981, allocations: 418.9 kB / 1.083 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.3983, allocations: 173.6 kB / 1.083 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3985, allocations: 126.5 kB / 1.083 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3986, allocations: 374.7 kB / 1.083 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.399, allocations: 277.8 kB / 1.083 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.3996, allocations: 493 kB / 1.084 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.4006, allocations: 0.8132 MB / 1.085 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4006, allocations: 7.938 kB / 1.085 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001698/0.4023, allocations: 1.091 MB / 1.086 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4023, allocations: 11.98 kB / 1.086 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4023, allocations: 4 kB / 1.086 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007931/0.4031, allocations: 275.6 kB / 1.086 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.4036, allocations: 131.7 kB / 1.086 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.4099, allocations: 7.13 MB / 1.093 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.4104, allocations: 39.95 kB / 1.093 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.4104, allocations: 32.23 kB / 1.093 GB, free: 13.16 MB / 0.8575 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0003099/0.4108, allocations: 253.6 kB / 1.094 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4109, allocations: 67.25 kB / 1.094 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.4123, allocations: 0.8962 MB / 1.094 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4123, allocations: 7.984 kB / 1.094 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4124, allocations: 4 kB / 1.094 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4124, allocations: 0 / 1.094 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.4148, allocations: 1.724 MB / 1.096 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4148, allocations: 7.875 kB / 1.096 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.415, allocations: 63.89 kB / 1.096 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006802/0.4157, allocations: 275.4 kB / 1.096 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.4158, allocations: 8 kB / 1.096 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006137/0.4219, allocations: 7.118 MB / 1.103 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4219, allocations: 0 / 1.103 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.4233, allocations: 0.9912 MB / 1.104 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.4236, allocations: 192.3 kB / 1.105 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.4237, allocations: 15.88 kB / 1.105 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.4241, allocations: 35.97 kB / 1.105 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.4242, allocations: 51.88 kB / 1.105 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.4243, allocations: 12 kB / 1.105 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003938/0.4247, allocations: 383.1 kB / 1.105 GB, free: 336 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.4247, allocations: 0 / 1.105 GB, free: 336 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007749/0.4254, allocations: 224 kB / 1.105 GB, free: 112 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.4273, allocations: 1.537 MB / 1.107 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.4294, allocations: 1.334 MB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4294, allocations: 4 kB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.4306, allocations: 0.8855 MB / 1.109 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009598/0.4315, allocations: 221.8 kB / 1.109 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.4402, allocations: 6.795 MB / 1.116 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.4408, allocations: 1.005 MB / 1.117 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004176/0.4412, allocations: 130 kB / 1.117 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.4415, allocations: 247.4 kB / 1.117 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.4415, allocations: 3.938 kB / 1.117 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.593/4.034, allocations: 17.1 MB / 1.134 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/4.035, allocations: 234.2 kB / 1.134 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/6.921, allocations: 0 / 1.134 GB, free: 2.395 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches