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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 102.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.109/3.109, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.39 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3267, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005458/0.3322, allocations: 3.315 MB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003571/0.3358, allocations: 2.034 MB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.336, allocations: 7.938 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.337, allocations: 294.7 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006191/0.3376, allocations: 235 kB / 1.31 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.3384, allocations: 291.3 kB / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006213/0.339, allocations: 406.7 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004268/0.3394, allocations: 176.5 kB / 1.311 GB, free: 10.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.3398, allocations: 163.4 kB / 1.311 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.3402, allocations: 211.2 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.3402, allocations: 24 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004906/0.3407, allocations: 267.5 kB / 1.311 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.3409, allocations: 127.6 kB / 1.311 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.3411, allocations: 147.3 kB / 1.311 GB, free: 9.848 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.3418, allocations: 498.2 kB / 1.312 GB, free: 9.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3418, allocations: 0 / 1.312 GB, free: 9.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3418, allocations: 0 / 1.312 GB, free: 9.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.3418, allocations: 0 / 1.312 GB, free: 9.359 MB / 1.014 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.001341/0.3431, allocations: 0.6076 MB / 1.312 GB, free: 8.703 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3432, allocations: 8.625 kB / 1.312 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.217e-05/0.3433, allocations: 66.7 kB / 1.313 GB, free: 8.621 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.3443, allocations: 116.6 kB / 1.313 GB, free: 8.508 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.3448, allocations: 289.7 kB / 1.313 GB, free: 8.184 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3448, allocations: 20.88 kB / 1.313 GB, free: 8.164 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.3449, allocations: 40.47 kB / 1.313 GB, free: 8.125 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.3457, allocations: 449.1 kB / 1.313 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3457, allocations: 0 / 1.313 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.3458, allocations: 12 kB / 1.313 GB, free: 7.637 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.3459, allocations: 40.53 kB / 1.313 GB, free: 7.598 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.3466, allocations: 365.9 kB / 1.314 GB, free: 7.242 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.3496, allocations: 2.215 MB / 1.316 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.35, allocations: 250.4 kB / 1.316 GB, free: 4.574 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.3503, allocations: 148.7 kB / 1.316 GB, free: 4.426 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3503, allocations: 8 kB / 1.316 GB, free: 4.418 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3503, allocations: 38.56 kB / 1.316 GB, free: 4.371 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.3503, allocations: 0 / 1.316 GB, free: 4.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.001918/0.3522, allocations: 1.06 MB / 1.317 GB, free: 3.246 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3523, allocations: 55.41 kB / 1.318 GB, free: 3.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.3526, allocations: 252.9 kB / 1.318 GB, free: 2.926 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3527, allocations: 29.7 kB / 1.318 GB, free: 2.891 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3528, allocations: 192.4 kB / 1.318 GB, free: 2.695 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.3529, allocations: 99.2 kB / 1.318 GB, free: 2.598 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.353, allocations: 69.64 kB / 1.318 GB, free: 2.523 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3532, allocations: 342.8 kB / 1.318 GB, free: 2.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.3535, allocations: 155.9 kB / 1.319 GB, free: 2.027 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.3538, allocations: 241.5 kB / 1.319 GB, free: 1.754 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.3545, allocations: 410.9 kB / 1.319 GB, free: 1.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3545, allocations: 3.938 kB / 1.319 GB, free: 1.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001284/0.3558, allocations: 0.5972 MB / 1.32 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3558, allocations: 8 kB / 1.32 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3558, allocations: 0 / 1.32 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/0.3565, allocations: 192.9 kB / 1.32 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.3569, allocations: 67.89 kB / 1.32 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.3601, allocations: 2.492 MB / 1.322 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.3605, allocations: 23.97 kB / 1.323 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.3605, allocations: 20.06 kB / 1.323 GB, free: 13.77 MB / 1.029 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.0002044/0.3607, allocations: 165.7 kB / 1.323 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.3608, allocations: 23.86 kB / 1.323 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006064/0.3614, allocations: 359.4 kB / 1.323 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3614, allocations: 0 / 1.323 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.3614, allocations: 0 / 1.323 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3614, allocations: 7.984 kB / 1.323 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3626, allocations: 0.8083 MB / 1.324 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3626, allocations: 0 / 1.324 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.363, allocations: 79.88 kB / 1.324 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.363, allocations: 0 / 1.324 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.363, allocations: 12 kB / 1.324 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3631, allocations: 0 / 1.324 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3631, allocations: 0 / 1.324 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/0.3639, allocations: 0.6205 MB / 1.325 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.364, allocations: 125 kB / 1.325 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.3641, allocations: 8.078 kB / 1.325 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.3643, allocations: 19.92 kB / 1.325 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3644, allocations: 19.91 kB / 1.325 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3644, allocations: 11.94 kB / 1.325 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002403/0.3646, allocations: 196.4 kB / 1.325 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3646, allocations: 0 / 1.325 GB, free: 11.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004283/0.3651, allocations: 88 kB / 1.325 GB, free: 11.13 MB / 1.029 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.001188/0.3663, allocations: 1.163 MB / 1.326 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.3673, allocations: 0.5066 MB / 1.327 GB, free: 9.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3673, allocations: 8.062 kB / 1.327 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.3675, allocations: 139.9 kB / 1.327 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.368, allocations: 57.31 kB / 1.327 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.3736, allocations: 3.691 MB / 1.33 GB, free: 5.375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.3741, allocations: 0.7912 MB / 1.331 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.3743, allocations: 86.89 kB / 1.331 GB, free: 4.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3745, allocations: 79.41 kB / 1.331 GB, free: 4.387 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/0.3745, allocations: 0 / 1.331 GB, free: 4.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.4091, allocations: 6.984 MB / 1.338 GB, free: 13.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.99, allocations: 16.75 kB / 1.338 GB, free: 13.56 MB / 1.045 GB " [Timeout remaining time 289] (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_2/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: 17.487588820979]