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.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.0007663/0.0007663, 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.0008124/0.0008124, allocations: 169.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.8079/0.8079, allocations: 177.1 MB / 202.7 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.66/1.66, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.862e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003601/0.00362, allocations: 4.088 MB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.005722, allocations: 2.302 MB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.005876, allocations: 23.75 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006499/0.006526, allocations: 378.2 kB / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.006974, allocations: 393.7 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.007342, allocations: 330.9 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.007782, allocations: 0.6983 MB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.008051, allocations: 234.1 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.008362, allocations: 371 kB / 1.008 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.008594, allocations: 243.3 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.008627, allocations: 28 kB / 1.008 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.008945, allocations: 390.8 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.009048, allocations: 151.5 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.009148, allocations: 159.6 kB / 1.009 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005863/0.009734, allocations: 0.7514 MB / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.009737, allocations: 0 / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.393e-06/0.009738, allocations: 0 / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.009745, allocations: 0 / 1.01 GB, free: 2.992 MB / 0.9636 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.0007203/0.01047, allocations: 0.7265 MB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.0105, allocations: 12.75 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.01056, allocations: 78.69 kB / 1.011 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006567/0.01121, allocations: 188.4 kB / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.0116, allocations: 372.9 kB / 1.011 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.01162, allocations: 21.38 kB / 1.011 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.01166, allocations: 44.31 kB / 1.011 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.01222, allocations: 0.7304 MB / 1.012 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01224, allocations: 4.188 kB / 1.012 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.01226, allocations: 16.12 kB / 1.012 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.01231, allocations: 55.91 kB / 1.012 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.01277, allocations: 499.3 kB / 1.013 GB, free: 96 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.01449, allocations: 3.195 MB / 1.016 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009004/0.01539, allocations: 0.6126 MB / 1.016 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.01554, allocations: 166.4 kB / 1.016 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.01556, allocations: 4 kB / 1.016 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.01558, allocations: 38.56 kB / 1.016 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.01558, allocations: 3.938 kB / 1.016 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001347/0.01693, allocations: 1.067 MB / 1.018 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.01697, allocations: 110.8 kB / 1.018 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.01723, allocations: 409.7 kB / 1.018 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01725, allocations: 29.7 kB / 1.018 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01738, allocations: 288.1 kB / 1.018 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.01743, allocations: 120.7 kB / 1.018 GB, free: 9.824 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.299e-05/0.01751, allocations: 98.3 kB / 1.019 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.0176, allocations: 350.8 kB / 1.019 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.01777, allocations: 177.2 kB / 1.019 GB, free: 9.195 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.01801, allocations: 380.1 kB / 1.019 GB, free: 8.734 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.01845, allocations: 0.5871 MB / 1.02 GB, free: 8.055 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01846, allocations: 4 kB / 1.02 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006452/0.0191, allocations: 0.6787 MB / 1.021 GB, free: 7.355 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.01912, allocations: 9.875 kB / 1.021 GB, free: 7.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.01913, allocations: 8.844 kB / 1.021 GB, free: 7.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.01935, allocations: 102.4 kB / 1.021 GB, free: 7.23 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.01955, allocations: 107.8 kB / 1.021 GB, free: 7.125 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.02148, allocations: 4.031 MB / 1.025 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.02164, allocations: 27.97 kB / 1.025 GB, free: 2.727 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.02166, allocations: 24 kB / 1.025 GB, free: 2.703 MB / 0.9792 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.0001441/0.0218, allocations: 205.8 kB / 1.025 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.02186, allocations: 47.72 kB / 1.025 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.02238, allocations: 0.5186 MB / 1.026 GB, free: 1.91 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.02238, allocations: 11.88 kB / 1.026 GB, free: 1.898 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.02238, allocations: 0 / 1.026 GB, free: 1.898 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.02239, allocations: 3.984 kB / 1.026 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.02343, allocations: 1.212 MB / 1.027 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.02343, allocations: 0 / 1.027 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.02355, allocations: 59.91 kB / 1.027 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.02369, allocations: 94.44 kB / 1.027 GB, free: 444 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.0237, allocations: 8 kB / 1.027 GB, free: 436 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.02546, allocations: 4.011 MB / 1.031 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.02546, allocations: 4 kB / 1.031 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.026, allocations: 0.7783 MB / 1.032 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.02609, allocations: 71.67 kB / 1.032 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.02612, allocations: 16 kB / 1.032 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.02628, allocations: 19.97 kB / 1.032 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.02633, allocations: 39.83 kB / 1.032 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.02634, allocations: 12 kB / 1.032 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001741/0.02651, allocations: 279.2 kB / 1.032 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02651, allocations: 0 / 1.032 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004089/0.02692, allocations: 128.2 kB / 1.032 GB, free: 10.68 MB / 0.9948 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.0008215/0.02775, allocations: 1.33 MB / 1.033 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007256/0.02847, allocations: 0.7715 MB / 1.034 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02847, allocations: 0 / 1.034 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.02881, allocations: 0.539 MB / 1.035 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.02938, allocations: 141.9 kB / 1.035 GB, free: 7.762 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.03284, allocations: 4.546 MB / 1.039 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.03301, allocations: 260.3 kB / 1.04 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000182/0.03319, allocations: 108.5 kB / 1.04 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.03333, allocations: 156.4 kB / 1.04 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of SimCode: time 6.71e-07/0.03334, allocations: 0 / 1.04 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.05975, allocations: 11.2 MB / 1.051 GB, free: 7.402 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.388, allocations: 10.41 kB / 1.051 GB, free: 7.395 MB / 1.01 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.506001958623528]