Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001274/0.001274, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001495/0.001495, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 3.131/3.131, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 60.94 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3138, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005442/0.3193, allocations: 3.39 MB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003597/0.3229, allocations: 2.119 MB / 1.351 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.323, allocations: 7.938 kB / 1.351 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009709/0.324, allocations: 300.3 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005728/0.3246, allocations: 246.9 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.3253, allocations: 291.2 kB / 1.352 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000523/0.3258, allocations: 410.7 kB / 1.352 GB, free: 9.695 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.3262, allocations: 176 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.3265, allocations: 179.4 kB / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.3269, allocations: 211.3 kB / 1.352 GB, free: 9.141 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.3269, allocations: 24 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004857/0.3274, allocations: 271.5 kB / 1.353 GB, free: 8.852 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.3276, allocations: 119.7 kB / 1.353 GB, free: 8.734 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.3277, allocations: 147.2 kB / 1.353 GB, free: 8.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.3284, allocations: 0.4904 MB / 1.353 GB, free: 8.098 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3284, allocations: 0 / 1.353 GB, free: 8.098 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3284, allocations: 0 / 1.353 GB, free: 8.098 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3284, allocations: 0 / 1.353 GB, free: 8.098 MB / 1.045 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.001137/0.3295, allocations: 0.5284 MB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3296, allocations: 12.03 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.079e-05/0.3296, allocations: 8.688 kB / 1.354 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.3297, allocations: 62.72 kB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.3307, allocations: 116.6 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.3311, allocations: 219.9 kB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.3311, allocations: 20.88 kB / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3313, allocations: 44.25 kB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008208/0.3321, allocations: 449.4 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.3321, allocations: 8 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.3322, allocations: 11.98 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.3323, allocations: 44.39 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.333, allocations: 365.7 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.336, allocations: 2.154 MB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.3365, allocations: 238.4 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.3367, allocations: 151 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3367, allocations: 3.938 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3368, allocations: 42.94 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.3368, allocations: 0 / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.002013/0.3388, allocations: 0.9009 MB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.3388, allocations: 55.41 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.3392, allocations: 260.9 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3392, allocations: 33.64 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3394, allocations: 196.3 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/0.3394, allocations: 83.28 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.3396, allocations: 81.61 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3397, allocations: 326.8 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.34, allocations: 167.8 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.3404, allocations: 238.3 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.3411, allocations: 418.8 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3411, allocations: 0 / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00132/0.3424, allocations: 0.5973 MB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3424, allocations: 4 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3424, allocations: 4 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.3431, allocations: 196.7 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.3435, allocations: 67.89 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.3467, allocations: 2.392 MB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.3471, allocations: 23.98 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.3471, allocations: 15.98 kB / 1.364 GB, free: 13.06 MB / 1.061 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.0002135/0.3474, allocations: 169.7 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.3474, allocations: 27.84 kB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/0.348, allocations: 355.6 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.348, allocations: 0 / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.348, allocations: 0 / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.348, allocations: 0 / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.3492, allocations: 0.7917 MB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.3492, allocations: 3.984 kB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.3497, allocations: 71.89 kB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3497, allocations: 0 / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.3497, allocations: 11.98 kB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3497, allocations: 0 / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3497, allocations: 4 kB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/0.3505, allocations: 0.6133 MB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3507, allocations: 55.86 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.3507, allocations: 11.95 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.351, allocations: 7.984 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.351, allocations: 23.91 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3511, allocations: 4 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002654/0.3513, allocations: 192.5 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3513, allocations: 0 / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000443/0.3518, allocations: 88 kB / 1.366 GB, free: 10.55 MB / 1.061 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.001204/0.353, allocations: 1.162 MB / 1.367 GB, free: 9.359 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.354, allocations: 0.5138 MB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.354, allocations: 0.625 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.3542, allocations: 139.9 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.3547, allocations: 53.94 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/0.3606, allocations: 3.707 MB / 1.371 GB, free: 4.773 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.361, allocations: 0.7951 MB / 1.372 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.3613, allocations: 74.91 kB / 1.372 GB, free: 3.883 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3614, allocations: 91.41 kB / 1.372 GB, free: 3.793 MB / 1.061 GB Notification: Performance of SimCode: time 6.82e-07/0.3614, allocations: 0 / 1.372 GB, free: 3.793 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.395, allocations: 7.274 MB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.09, allocations: 8.797 kB / 1.38 GB, free: 12.7 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.64419481594814]