Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_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.0009207/0.0009206, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.00529/0.00529, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.089/2.089, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 16 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6309, allocations: 142.4 MB / 0.9552 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004576/0.6355, allocations: 3.935 MB / 0.959 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.6391, allocations: 2.348 MB / 0.9613 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.6396, allocations: 14.72 kB / 0.9613 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.64, allocations: 66.52 kB / 0.9614 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.6411, allocations: 349.8 kB / 0.9617 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.642, allocations: 284.7 kB / 0.962 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.6431, allocations: 0.8772 MB / 0.9629 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009316/0.6441, allocations: 453.2 kB / 0.9633 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.6447, allocations: 225.5 kB / 0.9635 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.6453, allocations: 259.3 kB / 0.9637 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.433e-05/0.6454, allocations: 24.12 kB / 0.9638 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009854/0.6464, allocations: 0.5344 MB / 0.9643 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.6466, allocations: 123.2 kB / 0.9644 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.6469, allocations: 251.1 kB / 0.9646 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.6481, allocations: 0.7395 MB / 0.9654 GB, free: 240 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6481, allocations: 1 kB / 0.9654 GB, free: 240 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6481, allocations: 0 / 0.9654 GB, free: 240 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.6481, allocations: 0 / 0.9654 GB, free: 240 kB / 0.7169 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.00156/0.6497, allocations: 0.7061 MB / 0.9661 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.6498, allocations: 9.188 kB / 0.9661 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.6499, allocations: 84.56 kB / 0.9661 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.6515, allocations: 189.7 kB / 0.9663 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.6523, allocations: 402.6 kB / 0.9667 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.6523, allocations: 27.31 kB / 0.9667 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.6524, allocations: 33.39 kB / 0.9668 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.6534, allocations: 0.6532 MB / 0.9674 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.6535, allocations: 10.16 kB / 0.9674 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.6535, allocations: 13.5 kB / 0.9674 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.793e-05/0.6536, allocations: 56.23 kB / 0.9675 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.6545, allocations: 498.9 kB / 0.968 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/0.6584, allocations: 3.785 MB / 0.9717 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.6602, allocations: 0.6356 MB / 0.9723 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.6605, allocations: 169.7 kB / 0.9724 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.6605, allocations: 7.312 kB / 0.9724 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.6606, allocations: 44.48 kB / 0.9725 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.6606, allocations: 0 / 0.9725 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002425/0.663, allocations: 1.278 MB / 0.9737 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.6631, allocations: 110.7 kB / 0.9738 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.6637, allocations: 401.1 kB / 0.9742 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.6637, allocations: 31.61 kB / 0.9743 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.664, allocations: 282.1 kB / 0.9745 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.6641, allocations: 122 kB / 0.9746 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.6642, allocations: 48.23 kB / 0.9747 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6643, allocations: 352.3 kB / 0.975 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.6646, allocations: 175.6 kB / 0.9752 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.6651, allocations: 374.4 kB / 0.9755 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/0.6659, allocations: 0.5896 MB / 0.9761 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.6659, allocations: 3 kB / 0.9761 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001226/0.6672, allocations: 0.6753 MB / 0.9768 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.6672, allocations: 8.656 kB / 0.9768 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.6672, allocations: 10.88 kB / 0.9768 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.6676, allocations: 95.81 kB / 0.9769 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.668, allocations: 115.8 kB / 0.977 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/0.6715, allocations: 4.038 MB / 0.981 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.6718, allocations: 30.06 kB / 0.981 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.6719, allocations: 24 kB / 0.981 GB, free: 2.617 MB / 0.7325 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.0002593/0.6721, allocations: 197.6 kB / 0.9812 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.6723, allocations: 47.41 kB / 0.9812 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00098/0.6733, allocations: 0.523 MB / 0.9817 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6733, allocations: 3.938 kB / 0.9818 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6733, allocations: 1.438 kB / 0.9818 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6733, allocations: 5.453 kB / 0.9818 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.6753, allocations: 1.279 MB / 0.983 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.6753, allocations: 6.719 kB / 0.983 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.6755, allocations: 66.02 kB / 0.9831 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002739/0.6758, allocations: 86.19 kB / 0.9832 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.6759, allocations: 12.31 kB / 0.9832 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/0.6793, allocations: 4.037 MB / 0.9871 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6793, allocations: 4 kB / 0.9871 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/0.6802, allocations: 0.7737 MB / 0.9879 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.6804, allocations: 152.5 kB / 0.988 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.6805, allocations: 19.92 kB / 0.988 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.6808, allocations: 19.98 kB / 0.9881 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.6809, allocations: 35.89 kB / 0.9881 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.6809, allocations: 16 kB / 0.9881 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002931/0.6812, allocations: 275.1 kB / 0.9884 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.6812, allocations: 0 / 0.9884 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006797/0.6819, allocations: 127.9 kB / 0.9885 GB, free: 11.34 MB / 0.7481 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.001234/0.6832, allocations: 1.335 MB / 0.9898 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.6845, allocations: 0.7981 MB / 0.9906 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6846, allocations: 3.938 kB / 0.9906 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.6853, allocations: 0.5516 MB / 0.9911 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6864, allocations: 126.7 kB / 0.9912 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/0.6926, allocations: 4.766 MB / 0.9959 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.6932, allocations: 0.8625 MB / 0.9967 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003067/0.6935, allocations: 100.5 kB / 0.9968 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.6937, allocations: 151.4 kB / 0.997 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of SimCode: time 7.51e-07/0.6937, allocations: 4 kB / 0.997 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.7178, allocations: 9.398 MB / 1.006 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003195/0.7182, allocations: 227 kB / 1.006 GB, free: 8.715 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.535, allocations: 0 / 1.006 GB, free: 8.715 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches