Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0007735/0.0007735, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0007771/0.0007771, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8319/0.8319, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.566/1.566, allocations: 359 MB / 0.6037 GB, free: 11.09 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.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.456e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003027/0.003042, allocations: 3.213 MB / 0.9536 GB, free: 272 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.005056, allocations: 1.963 MB / 0.9555 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.128e-05/0.005147, allocations: 11.88 kB / 0.9556 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.005681, allocations: 298.7 kB / 0.9558 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.005966, allocations: 242.6 kB / 0.9561 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.006302, allocations: 294.2 kB / 0.9564 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.006584, allocations: 422.6 kB / 0.9568 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.006815, allocations: 172.2 kB / 0.9569 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.007019, allocations: 223.5 kB / 0.9571 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.007231, allocations: 179.5 kB / 0.9573 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.007259, allocations: 24 kB / 0.9573 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.007478, allocations: 251.3 kB / 0.9576 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.007565, allocations: 131.6 kB / 0.9577 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.007637, allocations: 99.75 kB / 0.9578 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.008012, allocations: 0.5102 MB / 0.9583 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.008014, allocations: 0 / 0.9583 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.92e-07/0.008015, allocations: 3.938 kB / 0.9583 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.00802, allocations: 0 / 0.9583 GB, free: 11.47 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006493/0.008669, allocations: 0.5245 MB / 0.9588 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.008699, allocations: 8.031 kB / 0.9588 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.008747, allocations: 66.66 kB / 0.9589 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/0.009247, allocations: 128.5 kB / 0.959 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.009493, allocations: 214.1 kB / 0.9592 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.00951, allocations: 20.86 kB / 0.9592 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/0.009594, allocations: 36.7 kB / 0.9593 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.01007, allocations: 0.5185 MB / 0.9598 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01008, allocations: 7.938 kB / 0.9598 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.01011, allocations: 15.98 kB / 0.9598 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.982e-05/0.01018, allocations: 40.47 kB / 0.9598 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.01058, allocations: 361.7 kB / 0.9602 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.01198, allocations: 1.64 MB / 0.9618 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.01224, allocations: 242.4 kB / 0.962 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.01237, allocations: 140.8 kB / 0.9621 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.01238, allocations: 4 kB / 0.9621 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.0124, allocations: 34.5 kB / 0.9622 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.0124, allocations: 4 kB / 0.9622 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.001059/0.01346, allocations: 0.9093 MB / 0.9631 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.01349, allocations: 51.41 kB / 0.9631 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.01367, allocations: 265.6 kB / 0.9634 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01369, allocations: 29.7 kB / 0.9634 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.01376, allocations: 200.3 kB / 0.9636 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.0138, allocations: 87.27 kB / 0.9637 GB, free: 5.684 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.01388, allocations: 77.62 kB / 0.9637 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.01395, allocations: 334.8 kB / 0.9641 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.01412, allocations: 159.8 kB / 0.9642 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.01432, allocations: 237.6 kB / 0.9644 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.01467, allocations: 406.8 kB / 0.9648 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01467, allocations: 0 / 0.9648 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006856/0.01536, allocations: 0.6016 MB / 0.9654 GB, free: 3.801 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01537, allocations: 4 kB / 0.9654 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01537, allocations: 4 kB / 0.9654 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/0.01574, allocations: 188.9 kB / 0.9656 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.0159, allocations: 71.88 kB / 0.9657 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.01759, allocations: 2.37 MB / 0.968 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.01776, allocations: 23.98 kB / 0.968 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.01784, allocations: 19.86 kB / 0.968 GB, free: 1.004 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.01794, allocations: 161.8 kB / 0.9682 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.01798, allocations: 35.77 kB / 0.9682 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.01831, allocations: 353.7 kB / 0.9686 GB, free: 460 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01831, allocations: 0 / 0.9686 GB, free: 460 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.01831, allocations: 4.062 kB / 0.9686 GB, free: 456 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.01831, allocations: 0 / 0.9686 GB, free: 456 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.01895, allocations: 0.7548 MB / 0.9693 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01895, allocations: 0 / 0.9693 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.01916, allocations: 79.88 kB / 0.9694 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01916, allocations: 0 / 0.9694 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01917, allocations: 8 kB / 0.9694 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01917, allocations: 0 / 0.9694 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01918, allocations: 4 kB / 0.9694 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.01964, allocations: 0.61 MB / 0.97 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.01971, allocations: 63.81 kB / 0.97 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.01974, allocations: 8 kB / 0.97 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.01985, allocations: 15.98 kB / 0.9701 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.01987, allocations: 15.91 kB / 0.9701 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.01988, allocations: 8 kB / 0.9701 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001323/0.02002, allocations: 185.2 kB / 0.9703 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.02002, allocations: 4 kB / 0.9703 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002489/0.02026, allocations: 91.94 kB / 0.9704 GB, free: 14.53 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006504/0.02091, allocations: 1.163 MB / 0.9715 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.02147, allocations: 0.5105 MB / 0.972 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.02147, allocations: 8.125 kB / 0.972 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.0216, allocations: 138 kB / 0.9721 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.02187, allocations: 54.52 kB / 0.9722 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.02493, allocations: 3.608 MB / 0.9757 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.02505, allocations: 190.1 kB / 0.9759 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.02518, allocations: 74.92 kB / 0.976 GB, free: 8.574 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.02529, allocations: 88.47 kB / 0.976 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of SimCode: time 4.61e-07/0.02529, allocations: 0 / 0.976 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.04464, allocations: 7.791 MB / 0.9836 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.737, allocations: 10.5 kB / 0.9837 GB, free: 0.8945 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: 10.36341293156147]