Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007947/0.0007947, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007717/0.0007717, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8356/0.8356, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.569/1.569, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.342e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.007717/0.00773, allocations: 10.51 MB / 0.9608 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005146/0.01288, allocations: 5.582 MB / 0.9662 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003814/0.01326, allocations: 75.31 kB / 0.9663 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.01508, allocations: 1.727 MB / 0.968 GB, free: 1.543 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.01658, allocations: 1.212 MB / 0.9692 GB, free: 332 kB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.01752, allocations: 0.8248 MB / 0.97 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.01878, allocations: 2.189 MB / 0.9721 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.01959, allocations: 1.018 MB / 0.9731 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.02052, allocations: 1.208 MB / 0.9743 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006564/0.02117, allocations: 0.8256 MB / 0.9751 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.0213, allocations: 116 kB / 0.9752 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.02228, allocations: 1.079 MB / 0.9762 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.0226, allocations: 0.5686 MB / 0.9768 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.02293, allocations: 0.5338 MB / 0.9773 GB, free: 7.922 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.02448, allocations: 2.476 MB / 0.9797 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.02449, allocations: 3.938 kB / 0.9797 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.335e-06/0.02449, allocations: 11.92 kB / 0.9798 GB, free: 5.422 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.0245, allocations: 0 / 0.9798 GB, free: 5.422 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001612/0.02612, allocations: 1.817 MB / 0.9815 GB, free: 3.562 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.02615, allocations: 8.031 kB / 0.9815 GB, free: 3.555 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.02631, allocations: 215.4 kB / 0.9817 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.0284, allocations: 0.6864 MB / 0.9824 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.02937, allocations: 0.9167 MB / 0.9833 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.02941, allocations: 90.91 kB / 0.9834 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.02954, allocations: 136.2 kB / 0.9835 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.03139, allocations: 2.412 MB / 0.9859 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.03142, allocations: 16.06 kB / 0.9859 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.0315, allocations: 56.11 kB / 0.986 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.03162, allocations: 166.3 kB / 0.9861 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.03336, allocations: 1.859 MB / 0.9879 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.0391, allocations: 9.39 MB / 0.9971 GB, free: 3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.04137, allocations: 1.863 MB / 0.9989 GB, free: 1.129 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.04188, allocations: 0.5581 MB / 0.9995 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.972e-05/0.04196, allocations: 20.98 kB / 0.9995 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.04199, allocations: 43.56 kB / 0.9995 GB, free: 0.4961 MB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 2.024e-06/0.04199, allocations: 0 / 0.9995 GB, free: 0.4961 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.003342/0.04533, allocations: 3.122 MB / 1.003 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.04536, allocations: 64.41 kB / 1.003 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.04604, allocations: 0.9592 MB / 1.004 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.04608, allocations: 41.7 kB / 1.004 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.04641, allocations: 0.7494 MB / 1.004 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.04659, allocations: 396.7 kB / 1.005 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.04683, allocations: 287.4 kB / 1.005 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.04689, allocations: 301.1 kB / 1.005 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.04747, allocations: 0.6168 MB / 1.006 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007954/0.04827, allocations: 1.113 MB / 1.007 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.04972, allocations: 1.824 MB / 1.009 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.04972, allocations: 4 kB / 1.009 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001962/0.05169, allocations: 2.104 MB / 1.011 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.05171, allocations: 14.03 kB / 1.011 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.05172, allocations: 20.78 kB / 1.011 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.05214, allocations: 262.6 kB / 1.011 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.05275, allocations: 371.4 kB / 1.011 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.05736, allocations: 10.72 MB / 1.022 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.05784, allocations: 123.8 kB / 1.022 GB, free: 7.949 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.05791, allocations: 71.98 kB / 1.022 GB, free: 7.879 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0003657/0.05827, allocations: 411.3 kB / 1.022 GB, free: 7.469 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.05838, allocations: 135.2 kB / 1.023 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.06002, allocations: 1.677 MB / 1.024 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.06003, allocations: 12 kB / 1.024 GB, free: 5.617 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.06003, allocations: 4 kB / 1.024 GB, free: 5.613 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.06004, allocations: 3.984 kB / 1.024 GB, free: 5.609 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.06299, allocations: 3.112 MB / 1.027 GB, free: 2.359 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.063, allocations: 11.77 kB / 1.027 GB, free: 2.352 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.06341, allocations: 219.7 kB / 1.028 GB, free: 2.137 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003569/0.06377, allocations: 242.6 kB / 1.028 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.06381, allocations: 24 kB / 1.028 GB, free: 1.852 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/0.06831, allocations: 10.72 MB / 1.038 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.06832, allocations: 11.94 kB / 1.038 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.06985, allocations: 1.793 MB / 1.04 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.07013, allocations: 235 kB / 1.04 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.07021, allocations: 28 kB / 1.04 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.07055, allocations: 83.88 kB / 1.04 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.07066, allocations: 104.7 kB / 1.04 GB, free: 3.855 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.07069, allocations: 39.98 kB / 1.04 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004725/0.07117, allocations: 0.6138 MB / 1.041 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.07117, allocations: 0 / 1.041 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007824/0.07195, allocations: 392 kB / 1.041 GB, free: 2.812 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.001748/0.0737, allocations: 2.39 MB / 1.044 GB, free: 312 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.3333/0.407, allocations: 2.399 MB / 1.046 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.407, allocations: 2.906 kB / 1.046 GB, free: 128.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.4079, allocations: 1.58 MB / 1.048 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4089, allocations: 358.6 kB / 1.048 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/0.4167, allocations: 11.51 MB / 1.059 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.417, allocations: 0.7415 MB / 1.06 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004535/0.4175, allocations: 358.1 kB / 1.06 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/0.4178, allocations: 0.5357 MB / 1.061 GB, free: 121 MB / 0.9948 GB Notification: Performance of SimCode: time 1.343e-06/0.4178, allocations: 0 / 1.061 GB, free: 121 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04665/0.4645, allocations: 30.63 MB / 1.091 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.949, allocations: 11.05 kB / 1.091 GB, free: 117.6 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 11.755365866236389]