Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.0008336/0.0008336, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008297/0.0008297, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.827/0.827, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.638/1.638, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.351e-05, allocations: 4.812 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003717/0.003731, allocations: 4.097 MB / 0.985 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.00577, allocations: 2.299 MB / 0.9872 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.005907, allocations: 23.75 kB / 0.9872 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.006583, allocations: 378.2 kB / 0.9876 GB, free: 11.76 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.007053, allocations: 393.7 kB / 0.988 GB, free: 11.37 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.007468, allocations: 333.3 kB / 0.9883 GB, free: 11.05 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007454/0.008213, allocations: 0.6983 MB / 0.989 GB, free: 10.35 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.008533, allocations: 226.1 kB / 0.9892 GB, free: 10.12 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.008872, allocations: 374.9 kB / 0.9895 GB, free: 9.754 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.009102, allocations: 239.3 kB / 0.9898 GB, free: 9.52 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.009135, allocations: 28 kB / 0.9898 GB, free: 9.492 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.009476, allocations: 390.9 kB / 0.9902 GB, free: 9.109 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.00959, allocations: 151.5 kB / 0.9903 GB, free: 8.961 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.009697, allocations: 163.6 kB / 0.9905 GB, free: 8.801 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.01025, allocations: 0.7553 MB / 0.9912 GB, free: 8.043 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01026, allocations: 0 / 0.9912 GB, free: 8.043 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01026, allocations: 0 / 0.9912 GB, free: 8.043 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.01026, allocations: 0 / 0.9912 GB, free: 8.043 MB / 0.948 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.0007586/0.01102, allocations: 0.7227 MB / 0.9919 GB, free: 7.289 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01106, allocations: 12.03 kB / 0.9919 GB, free: 7.277 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.01111, allocations: 74.7 kB / 0.992 GB, free: 7.195 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006681/0.01178, allocations: 192.4 kB / 0.9922 GB, free: 7.008 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.01216, allocations: 372.8 kB / 0.9925 GB, free: 6.617 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.01218, allocations: 25.36 kB / 0.9926 GB, free: 6.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.01222, allocations: 40.36 kB / 0.9926 GB, free: 6.551 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.01278, allocations: 0.7304 MB / 0.9933 GB, free: 5.715 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.0128, allocations: 8.125 kB / 0.9933 GB, free: 5.707 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.01283, allocations: 20.11 kB / 0.9933 GB, free: 5.688 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.01287, allocations: 55.84 kB / 0.9934 GB, free: 5.633 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.01332, allocations: 499.4 kB / 0.9939 GB, free: 5.145 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.01527, allocations: 3.187 MB / 0.997 GB, free: 1.816 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.01614, allocations: 0.6051 MB / 0.9976 GB, free: 1.184 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.01629, allocations: 166.4 kB / 0.9977 GB, free: 1.012 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.01631, allocations: 4 kB / 0.9977 GB, free: 1.008 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.01633, allocations: 38.56 kB / 0.9978 GB, free: 0.9609 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.01633, allocations: 0 / 0.9978 GB, free: 0.9609 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001221/0.01755, allocations: 1.072 MB / 0.9988 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.01759, allocations: 110.8 kB / 0.9989 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.01783, allocations: 406.3 kB / 0.9993 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.01785, allocations: 29.7 kB / 0.9993 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01797, allocations: 288.2 kB / 0.9996 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.01803, allocations: 123 kB / 0.9997 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.01811, allocations: 98.28 kB / 0.9998 GB, free: 14.78 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.01819, allocations: 354.8 kB / 1 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.01835, allocations: 177.1 kB / 1 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.01859, allocations: 384.1 kB / 1.001 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.01903, allocations: 0.5951 MB / 1.001 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01903, allocations: 4 kB / 1.001 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006074/0.01963, allocations: 0.6711 MB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01965, allocations: 8 kB / 1.002 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01966, allocations: 8 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.01986, allocations: 95.06 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.02005, allocations: 119.8 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.02206, allocations: 4.022 MB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.02221, allocations: 27.97 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.02223, allocations: 24 kB / 1.006 GB, free: 7.754 MB / 0.9636 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.0001405/0.02237, allocations: 205.8 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.02243, allocations: 51.66 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.02291, allocations: 0.519 MB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02292, allocations: 7.938 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.02292, allocations: 0 / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.02292, allocations: 3.984 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.02391, allocations: 1.205 MB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02391, allocations: 0 / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.02402, allocations: 63.89 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.02415, allocations: 90.44 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.02417, allocations: 12 kB / 1.008 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.02601, allocations: 4.019 MB / 1.012 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.02602, allocations: 4.281 kB / 1.012 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.02657, allocations: 0.7744 MB / 1.013 GB, free: 292 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.02666, allocations: 83.56 kB / 1.013 GB, free: 208 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.02668, allocations: 12 kB / 1.013 GB, free: 196 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.02684, allocations: 23.91 kB / 1.013 GB, free: 172 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.02688, allocations: 43.83 kB / 1.013 GB, free: 128 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.02689, allocations: 8 kB / 1.013 GB, free: 120 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001788/0.02707, allocations: 279.2 kB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.02707, allocations: 0 / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003743/0.02744, allocations: 128.1 kB / 1.013 GB, free: 15.72 MB / 0.9792 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.0006772/0.02812, allocations: 1.327 MB / 1.015 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006407/0.02876, allocations: 0.7656 MB / 1.016 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02876, allocations: 5.188 kB / 1.016 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.02908, allocations: 0.5354 MB / 1.016 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.0296, allocations: 139.9 kB / 1.016 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.033, allocations: 4.542 MB / 1.021 GB, free: 7.922 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.03316, allocations: 256.3 kB / 1.021 GB, free: 7.648 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.03331, allocations: 104.5 kB / 1.021 GB, free: 7.547 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.03345, allocations: 160.4 kB / 1.021 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of SimCode: time 5.71e-07/0.03345, allocations: 3.938 kB / 1.021 GB, free: 7.387 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.05722, allocations: 11.23 MB / 1.032 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.903, allocations: 8.062 kB / 1.032 GB, free: 12.46 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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.064936031587422]