Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001654/0.001654, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002116/0.002116, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.051/2.051, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.432/4.432, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 63.64 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3674, allocations: 157.4 MB / 1.052 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.01/0.3774, allocations: 4.324 MB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006036/0.3835, allocations: 2.361 MB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.3841, allocations: 15.88 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.3859, allocations: 349.6 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.3873, allocations: 346.5 kB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3886, allocations: 283.5 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.3898, allocations: 0.6827 MB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007905/0.3906, allocations: 283 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005428/0.3912, allocations: 262.8 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.3917, allocations: 270.9 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.3919, allocations: 39.94 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.3932, allocations: 435 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.3934, allocations: 139.6 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.3938, allocations: 242.6 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.3962, allocations: 0.7592 MB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.3963, allocations: 3.938 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.867e-06/0.3963, allocations: 0 / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.805e-05/0.3963, allocations: 0 / 1.063 GB, free: 13.81 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002333/0.3987, allocations: 0.7871 MB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 8.662e-05/0.3988, allocations: 8.625 kB / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.3989, allocations: 82.7 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.4013, allocations: 176.1 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/0.4022, allocations: 408.4 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.4023, allocations: 29.36 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4024, allocations: 32.36 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4039, allocations: 0.6586 MB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.4039, allocations: 7.906 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.404, allocations: 19.98 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.4041, allocations: 47.97 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.4054, allocations: 0.4915 MB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006004/0.4115, allocations: 3.778 MB / 1.069 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.4144, allocations: 0.6283 MB / 1.07 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.4148, allocations: 174.5 kB / 1.07 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.4149, allocations: 7.938 kB / 1.07 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.4149, allocations: 42.56 kB / 1.07 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 3.637e-06/0.4149, allocations: 0 / 1.07 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.004274/0.4192, allocations: 1.28 MB / 1.071 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.4194, allocations: 110.8 kB / 1.071 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008963/0.4203, allocations: 397.8 kB / 1.072 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.4204, allocations: 29.7 kB / 1.072 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.4208, allocations: 287.4 kB / 1.072 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.421, allocations: 118.4 kB / 1.072 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.4213, allocations: 102.1 kB / 1.072 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002876/0.4216, allocations: 362.8 kB / 1.073 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.4221, allocations: 169 kB / 1.073 GB, free: 3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007634/0.4229, allocations: 380.9 kB / 1.073 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.4242, allocations: 0.5871 MB / 1.074 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.4242, allocations: 0 / 1.074 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002076/0.4263, allocations: 0.6747 MB / 1.074 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4264, allocations: 8 kB / 1.074 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.4264, allocations: 8.75 kB / 1.074 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.427, allocations: 106.4 kB / 1.075 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.4277, allocations: 107.8 kB / 1.075 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/0.4335, allocations: 4.341 MB / 1.079 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.4343, allocations: 36.12 kB / 1.079 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.4344, allocations: 23.98 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004219/0.4348, allocations: 197.6 kB / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.4351, allocations: 47.52 kB / 1.079 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.4366, allocations: 0.5262 MB / 1.08 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.4367, allocations: 4 kB / 1.08 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.4367, allocations: 0 / 1.08 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.4367, allocations: 4 kB / 1.08 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.4402, allocations: 1.287 MB / 1.081 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4402, allocations: 0 / 1.081 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.4407, allocations: 59.91 kB / 1.081 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.4412, allocations: 90.78 kB / 1.081 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.4412, allocations: 12 kB / 1.081 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005516/0.4468, allocations: 4.34 MB / 1.085 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.4468, allocations: 4.156 kB / 1.085 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.4484, allocations: 0.7813 MB / 1.086 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.4488, allocations: 148.5 kB / 1.086 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.4489, allocations: 19.98 kB / 1.086 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.4496, allocations: 15.98 kB / 1.086 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.4497, allocations: 43.83 kB / 1.086 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.4498, allocations: 12 kB / 1.086 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005902/0.4504, allocations: 279.1 kB / 1.087 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3e-07/0.4504, allocations: 0 / 1.087 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001403/0.4518, allocations: 120 kB / 1.087 GB, free: 3.523 MB / 0.8419 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002118/0.454, allocations: 1.339 MB / 1.088 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.4561, allocations: 0.822 MB / 1.089 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.4562, allocations: 12.06 kB / 1.089 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.4574, allocations: 0.5349 MB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.4592, allocations: 139.6 kB / 1.09 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.4698, allocations: 4.75 MB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009201/0.4708, allocations: 0.8663 MB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006305/0.4714, allocations: 108.5 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.4718, allocations: 155.4 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 1.804e-06/0.4718, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8517/1.324, allocations: 9.827 MB / 1.105 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003975/1.324, allocations: 241.9 kB / 1.105 GB, free: 460 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/5.416, allocations: 0 / 1.105 GB, free: 460 kB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches