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.000754/0.000754, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007525/0.0007525, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8292/0.8292, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.665/1.665, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.449e-05, allocations: 2.281 kB / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005142/0.005167, allocations: 3.219 MB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.008541, allocations: 1.963 MB / 0.986 GB, free: 13.39 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.008747, allocations: 11.94 kB / 0.986 GB, free: 13.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000974/0.009721, allocations: 297.5 kB / 0.9863 GB, free: 13.09 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.01038, allocations: 238.6 kB / 0.9865 GB, free: 12.86 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.01117, allocations: 295.1 kB / 0.9868 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005473/0.01172, allocations: 426.5 kB / 0.9872 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.01211, allocations: 168.3 kB / 0.9874 GB, free: 11.99 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.01252, allocations: 227.4 kB / 0.9876 GB, free: 11.77 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.01294, allocations: 187.5 kB / 0.9878 GB, free: 11.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.01298, allocations: 24 kB / 0.9878 GB, free: 11.56 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.01351, allocations: 247.4 kB / 0.988 GB, free: 11.32 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.01365, allocations: 131.6 kB / 0.9882 GB, free: 11.19 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.01377, allocations: 99.75 kB / 0.9883 GB, free: 11.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008822/0.01465, allocations: 0.5024 MB / 0.9888 GB, free: 10.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.01466, allocations: 0 / 0.9888 GB, free: 10.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.01466, allocations: 0 / 0.9888 GB, free: 10.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.01467, allocations: 0 / 0.9888 GB, free: 10.59 MB / 0.948 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.001095/0.01576, allocations: 0.54 MB / 0.9893 GB, free: 10.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.01581, allocations: 8.031 kB / 0.9893 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.459e-05/0.01588, allocations: 58.73 kB / 0.9893 GB, free: 9.941 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009037/0.01679, allocations: 120.6 kB / 0.9895 GB, free: 9.824 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.01718, allocations: 222 kB / 0.9897 GB, free: 9.578 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.01721, allocations: 20.86 kB / 0.9897 GB, free: 9.559 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.01734, allocations: 40.69 kB / 0.9897 GB, free: 9.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.01809, allocations: 0.5186 MB / 0.9902 GB, free: 8.941 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.01811, allocations: 3.938 kB / 0.9902 GB, free: 8.938 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.01815, allocations: 12 kB / 0.9902 GB, free: 8.926 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.01827, allocations: 44.41 kB / 0.9903 GB, free: 8.883 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.0189, allocations: 365.7 kB / 0.9906 GB, free: 8.527 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.02084, allocations: 1.629 MB / 0.9922 GB, free: 6.824 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.02116, allocations: 254.3 kB / 0.9925 GB, free: 6.566 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.0213, allocations: 140.8 kB / 0.9926 GB, free: 6.426 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.02132, allocations: 4 kB / 0.9926 GB, free: 6.422 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.02134, allocations: 30.56 kB / 0.9926 GB, free: 6.383 MB / 0.948 GB Notification: Performance of pre-optimization done (n=22): time 2.454e-06/0.02135, allocations: 0 / 0.9926 GB, free: 6.383 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001223/0.02257, allocations: 0.9202 MB / 0.9935 GB, free: 5.434 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.0226, allocations: 55.41 kB / 0.9936 GB, free: 5.367 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.02281, allocations: 269.5 kB / 0.9938 GB, free: 5.102 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.02283, allocations: 29.7 kB / 0.9939 GB, free: 5.066 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.02294, allocations: 188.4 kB / 0.9941 GB, free: 4.879 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.02298, allocations: 79.28 kB / 0.9941 GB, free: 4.801 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.02307, allocations: 81.62 kB / 0.9942 GB, free: 4.715 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.02317, allocations: 334.8 kB / 0.9945 GB, free: 4.379 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.02335, allocations: 159.9 kB / 0.9947 GB, free: 4.223 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.02357, allocations: 246.2 kB / 0.9949 GB, free: 3.945 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.02394, allocations: 407.9 kB / 0.9953 GB, free: 3.516 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.02394, allocations: 0 / 0.9953 GB, free: 3.516 MB / 0.948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008627/0.02481, allocations: 0.5973 MB / 0.9959 GB, free: 2.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.02482, allocations: 7.984 kB / 0.9959 GB, free: 2.902 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02483, allocations: 4 kB / 0.9959 GB, free: 2.898 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.02521, allocations: 192.7 kB / 0.9961 GB, free: 2.707 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.02539, allocations: 63.89 kB / 0.9961 GB, free: 2.645 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.0273, allocations: 2.369 MB / 0.9985 GB, free: 160 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.02748, allocations: 27.97 kB / 0.9985 GB, free: 132 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.02749, allocations: 8 kB / 0.9985 GB, free: 124 kB / 0.948 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.0001298/0.02762, allocations: 169.9 kB / 0.9987 GB, free: 15.94 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.02766, allocations: 31.8 kB / 0.9987 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.02801, allocations: 347.6 kB / 0.999 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.02801, allocations: 4 kB / 0.999 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.02801, allocations: 0 / 0.999 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.02802, allocations: 3.984 kB / 0.999 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/0.02869, allocations: 0.7544 MB / 0.9998 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.0287, allocations: 0 / 0.9998 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.02895, allocations: 80 kB / 0.9998 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.02895, allocations: 0 / 0.9998 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.02897, allocations: 8 kB / 0.9998 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.02897, allocations: 3.938 kB / 0.9998 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02897, allocations: 3.938 kB / 0.9999 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.02947, allocations: 0.6094 MB / 1 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.02955, allocations: 55.81 kB / 1.001 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.02957, allocations: 15.89 kB / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.03012, allocations: 19.97 kB / 1.001 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.03015, allocations: 7.984 kB / 1.001 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.03016, allocations: 11.98 kB / 1.001 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001366/0.0303, allocations: 189.2 kB / 1.001 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.0303, allocations: 0 / 1.001 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002739/0.03057, allocations: 99.92 kB / 1.001 GB, free: 13.64 MB / 0.9636 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.0007204/0.03129, allocations: 1.148 MB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006108/0.0319, allocations: 0.5103 MB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0319, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.03203, allocations: 140.5 kB / 1.003 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.03234, allocations: 66.48 kB / 1.003 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.03567, allocations: 3.613 MB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.03581, allocations: 194 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.03595, allocations: 74.91 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.03607, allocations: 84.47 kB / 1.007 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.03607, allocations: 4 kB / 1.007 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.05837, allocations: 7.788 MB / 1.014 GB, free: 0 / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/6.851, allocations: 12.48 kB / 1.014 GB, free: 15.99 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.629861342720687]