Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001515/0.001515, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001841/0.001841, allocations: 219 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.106/3.106, allocations: 0.49 GB / 0.7959 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_12_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.002116/0.002116, allocations: 60.81 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006015/0.3611, allocations: 3.4 MB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.3649, allocations: 2.115 MB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.3651, allocations: 7.938 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.3661, allocations: 302.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.3667, allocations: 238.9 kB / 1.333 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.3674, allocations: 289.8 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.3679, allocations: 410.7 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.3683, allocations: 176.2 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.3686, allocations: 175.4 kB / 1.334 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.3689, allocations: 207.3 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.369, allocations: 27.94 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.3695, allocations: 275.5 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3696, allocations: 127.6 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.3698, allocations: 147.3 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000711/0.3705, allocations: 486.2 kB / 1.335 GB, free: 9.625 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3705, allocations: 4 kB / 1.335 GB, free: 9.621 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3705, allocations: 4 kB / 1.335 GB, free: 9.617 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.3705, allocations: 0 / 1.335 GB, free: 9.617 MB / 1.029 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.00118/0.3717, allocations: 0.5322 MB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3717, allocations: 8.031 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/0.3717, allocations: 12.62 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.934e-05/0.3718, allocations: 66.72 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.3728, allocations: 116.6 kB / 1.336 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.3732, allocations: 218.7 kB / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3732, allocations: 16.88 kB / 1.336 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.3734, allocations: 44.28 kB / 1.336 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007462/0.3741, allocations: 453.4 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3742, allocations: 0 / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.3742, allocations: 8 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.3743, allocations: 40.47 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.375, allocations: 365.7 kB / 1.337 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.3779, allocations: 2.162 MB / 1.339 GB, free: 5.312 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.3783, allocations: 246.3 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.3786, allocations: 148.8 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3786, allocations: 0 / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3786, allocations: 34.94 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.3786, allocations: 4 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001932/0.3805, allocations: 0.9119 MB / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3806, allocations: 55.41 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.381, allocations: 260.9 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.381, allocations: 29.7 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3811, allocations: 192.3 kB / 1.341 GB, free: 3.367 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.3812, allocations: 83.31 kB / 1.341 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.3814, allocations: 81.62 kB / 1.341 GB, free: 3.199 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3815, allocations: 330.8 kB / 1.341 GB, free: 2.867 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.3819, allocations: 171.9 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.3822, allocations: 242.2 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.3829, allocations: 414.8 kB / 1.342 GB, free: 1.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3829, allocations: 0 / 1.342 GB, free: 1.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001308/0.3842, allocations: 0.5896 MB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3842, allocations: 11.92 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3842, allocations: 4 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007471/0.385, allocations: 188.8 kB / 1.343 GB, free: 1.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3853, allocations: 63.89 kB / 1.343 GB, free: 1.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.3887, allocations: 2.4 MB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.3891, allocations: 23.97 kB / 1.345 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.3891, allocations: 16 kB / 1.345 GB, free: 14.57 MB / 1.045 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.0002147/0.3893, allocations: 170.2 kB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.3894, allocations: 27.84 kB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.39, allocations: 351.6 kB / 1.346 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.39, allocations: 3.938 kB / 1.346 GB, free: 14.01 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.39, allocations: 0 / 1.346 GB, free: 14.01 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.39, allocations: 3.984 kB / 1.346 GB, free: 14.01 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.3913, allocations: 0.784 MB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3913, allocations: 64 / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.3917, allocations: 79.88 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3917, allocations: 0 / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.3917, allocations: 8 kB / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3917, allocations: 0 / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3917, allocations: 0 / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.3926, allocations: 0.621 MB / 1.347 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3927, allocations: 51.83 kB / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.3928, allocations: 15.94 kB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.393, allocations: 11.98 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.3931, allocations: 23.84 kB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.3931, allocations: 8 kB / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002677/0.3934, allocations: 188.5 kB / 1.347 GB, free: 12.15 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3934, allocations: 0 / 1.347 GB, free: 12.15 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004866/0.3938, allocations: 88 kB / 1.347 GB, free: 12.07 MB / 1.045 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.001259/0.3951, allocations: 1.156 MB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.3962, allocations: 0.5078 MB / 1.349 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3962, allocations: 0 / 1.349 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.3964, allocations: 144.4 kB / 1.349 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3969, allocations: 58.17 kB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/0.4026, allocations: 3.696 MB / 1.353 GB, free: 6.301 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.4031, allocations: 0.799 MB / 1.354 GB, free: 5.477 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.4033, allocations: 74.91 kB / 1.354 GB, free: 5.402 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.4035, allocations: 83.41 kB / 1.354 GB, free: 5.32 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.4035, allocations: 0 / 1.354 GB, free: 5.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.4348, allocations: 7.294 MB / 1.361 GB, free: 14.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.49, allocations: 3.938 kB / 1.361 GB, free: 14.2 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.10624148399802]