Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001952/0.001952, allocations: 104.5 kB / 16.45 MB, free: 6.445 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.002126/0.002126, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.545/1.545, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 63.91 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3266, allocations: 160.7 MB / 1.213 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005197/0.3318, allocations: 3.309 MB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.3355, allocations: 2.031 MB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.3357, allocations: 4 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.3367, allocations: 298.8 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005985/0.3373, allocations: 242.9 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.3381, allocations: 283.3 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.3386, allocations: 410.7 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.339, allocations: 164.5 kB / 1.219 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.3392, allocations: 163.4 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.3396, allocations: 223.3 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.3396, allocations: 24 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.3401, allocations: 275.5 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3403, allocations: 119.7 kB / 1.22 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3404, allocations: 151.2 kB / 1.22 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.3411, allocations: 494.2 kB / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3411, allocations: 0 / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3411, allocations: 0 / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.3411, allocations: 0 / 1.221 GB, free: 9.27 MB / 0.9669 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.001351/0.3425, allocations: 0.6038 MB / 1.221 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.3426, allocations: 12.03 kB / 1.221 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.743e-05/0.3426, allocations: 62.66 kB / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.3437, allocations: 116.6 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.3442, allocations: 281.3 kB / 1.222 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.3442, allocations: 16.94 kB / 1.222 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.3444, allocations: 48.36 kB / 1.222 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.3452, allocations: 457 kB / 1.222 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.3452, allocations: 4 kB / 1.222 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.3452, allocations: 12 kB / 1.222 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/0.3454, allocations: 40.53 kB / 1.222 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006514/0.346, allocations: 369.9 kB / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.3489, allocations: 2.215 MB / 1.225 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.3493, allocations: 246.4 kB / 1.225 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.3496, allocations: 140.8 kB / 1.225 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3496, allocations: 4 kB / 1.225 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.3496, allocations: 38.5 kB / 1.225 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.3496, allocations: 0 / 1.225 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002003/0.3516, allocations: 1.062 MB / 1.226 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3517, allocations: 55.41 kB / 1.226 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.352, allocations: 256.9 kB / 1.227 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3521, allocations: 29.7 kB / 1.227 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.3522, allocations: 192.4 kB / 1.227 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.3523, allocations: 95.2 kB / 1.227 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.3524, allocations: 77.59 kB / 1.227 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3526, allocations: 338.8 kB / 1.227 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.3529, allocations: 155.9 kB / 1.228 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3533, allocations: 245.6 kB / 1.228 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.3539, allocations: 410.8 kB / 1.228 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3539, allocations: 3.938 kB / 1.228 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00129/0.3552, allocations: 0.5925 MB / 1.229 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3553, allocations: 12.31 kB / 1.229 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3553, allocations: 0 / 1.229 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.356, allocations: 192.5 kB / 1.229 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.3564, allocations: 67.89 kB / 1.229 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.3597, allocations: 2.484 MB / 1.231 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.3601, allocations: 28.03 kB / 1.231 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.3601, allocations: 16 kB / 1.231 GB, free: 13.7 MB / 0.9825 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.000249/0.3604, allocations: 161.7 kB / 1.232 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.3605, allocations: 23.86 kB / 1.232 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/0.3611, allocations: 359.5 kB / 1.232 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3611, allocations: 0 / 1.232 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3611, allocations: 12 kB / 1.232 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3611, allocations: 0 / 1.232 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.3624, allocations: 0.816 MB / 1.233 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3624, allocations: 0 / 1.233 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.3628, allocations: 79.88 kB / 1.233 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.3628, allocations: 0 / 1.233 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3628, allocations: 11.98 kB / 1.233 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3628, allocations: 4.062 kB / 1.233 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3628, allocations: 4 kB / 1.233 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/0.3636, allocations: 0.6141 MB / 1.234 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3638, allocations: 132.9 kB / 1.234 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3638, allocations: 8 kB / 1.234 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.3641, allocations: 11.98 kB / 1.234 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3641, allocations: 19.92 kB / 1.234 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3641, allocations: 11.98 kB / 1.234 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002472/0.3644, allocations: 184.5 kB / 1.234 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3644, allocations: 3.938 kB / 1.234 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004434/0.3648, allocations: 91.98 kB / 1.234 GB, free: 11.05 MB / 0.9825 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.001253/0.3661, allocations: 1.157 MB / 1.235 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.3671, allocations: 0.5141 MB / 1.236 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3671, allocations: 0 / 1.236 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.3673, allocations: 143.8 kB / 1.236 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.3678, allocations: 60.25 kB / 1.236 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.3735, allocations: 3.706 MB / 1.239 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.3739, allocations: 0.7912 MB / 1.24 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002828/0.3742, allocations: 78.92 kB / 1.24 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3744, allocations: 83.73 kB / 1.24 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/0.3744, allocations: 0 / 1.24 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.4095, allocations: 6.98 MB / 1.247 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.94, allocations: 6.734 kB / 1.247 GB, free: 13.49 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.154936622828245]