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.001478/0.001478, allocations: 80.06 kB / 19.18 MB, free: 2.52 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.001595/0.001595, allocations: 165.8 kB / 22.46 MB, free: 5.379 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.753/2.753, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.951e-05/4.201e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005931/0.005973, allocations: 3.212 MB / 0.9846 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004041/0.01001, allocations: 1.959 MB / 0.9865 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.01021, allocations: 11.94 kB / 0.9865 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.01133, allocations: 300.3 kB / 0.9868 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006365/0.01197, allocations: 246.5 kB / 0.987 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007838/0.01276, allocations: 287.1 kB / 0.9873 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005292/0.01328, allocations: 418.6 kB / 0.9877 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.01366, allocations: 168.2 kB / 0.9878 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.01405, allocations: 235.4 kB / 0.9881 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.01444, allocations: 187.5 kB / 0.9882 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.0145, allocations: 24 kB / 0.9883 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.01495, allocations: 251.3 kB / 0.9885 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.01511, allocations: 127.6 kB / 0.9886 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.01527, allocations: 99.77 kB / 0.9887 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007113/0.01598, allocations: 0.5024 MB / 0.9892 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.01599, allocations: 4 kB / 0.9892 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01599, allocations: 0 / 0.9892 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.01599, allocations: 0 / 0.9892 GB, free: 3.957 MB / 0.9356 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.001163/0.01716, allocations: 0.5244 MB / 0.9897 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.0172, allocations: 12.03 kB / 0.9897 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.0182, allocations: 120.6 kB / 0.9899 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.01859, allocations: 233.9 kB / 0.9901 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.01861, allocations: 20.86 kB / 0.9901 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.01874, allocations: 36.69 kB / 0.9901 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.01961, allocations: 0.5225 MB / 0.9906 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01962, allocations: 192 / 0.9906 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.01967, allocations: 11.94 kB / 0.9907 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/0.01982, allocations: 40.47 kB / 0.9907 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.02051, allocations: 365.7 kB / 0.991 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.02298, allocations: 1.578 MB / 0.9926 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.02345, allocations: 246.4 kB / 0.9928 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.0237, allocations: 148.8 kB / 0.993 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.02372, allocations: 0 / 0.993 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.02376, allocations: 42.55 kB / 0.993 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.02376, allocations: 0 / 0.993 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.001931/0.02569, allocations: 0.905 MB / 0.9939 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.02574, allocations: 59.34 kB / 0.9939 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.02607, allocations: 243.1 kB / 0.9942 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.02611, allocations: 29.7 kB / 0.9942 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.02626, allocations: 196.3 kB / 0.9944 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.02634, allocations: 87.31 kB / 0.9945 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.02648, allocations: 69.64 kB / 0.9945 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.02665, allocations: 338.8 kB / 0.9949 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.02695, allocations: 155.8 kB / 0.995 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.02736, allocations: 254.9 kB / 0.9953 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.02801, allocations: 411.4 kB / 0.9956 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.02802, allocations: 0 / 0.9956 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001314/0.02933, allocations: 0.5934 MB / 0.9962 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.02935, allocations: 4 kB / 0.9962 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.02936, allocations: 4 kB / 0.9962 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.0301, allocations: 188.8 kB / 0.9964 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.03044, allocations: 63.89 kB / 0.9965 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.03368, allocations: 2.357 MB / 0.9988 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.03407, allocations: 23.97 kB / 0.9988 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.03411, allocations: 16 kB / 0.9988 GB, free: 9.676 MB / 0.9512 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.0002286/0.03433, allocations: 165.8 kB / 0.999 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.0344, allocations: 27.86 kB / 0.999 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/0.03502, allocations: 346 kB / 0.9993 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.03503, allocations: 4 kB / 0.9993 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.03503, allocations: 3.938 kB / 0.9993 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.03504, allocations: 3.984 kB / 0.9993 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.03613, allocations: 0.7085 MB / 1 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.03613, allocations: 4 kB / 1 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.03655, allocations: 75.94 kB / 1 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.03655, allocations: 4.062 kB / 1 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.03658, allocations: 11.94 kB / 1 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.03659, allocations: 3.938 kB / 1 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.03659, allocations: 4 kB / 1 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.03742, allocations: 0.6027 MB / 1.001 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.03754, allocations: 55.77 kB / 1.001 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.03759, allocations: 8 kB / 1.001 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.03782, allocations: 7.984 kB / 1.001 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.03787, allocations: 19.97 kB / 1.001 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.03788, allocations: 7.938 kB / 1.001 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002379/0.03812, allocations: 188 kB / 1.001 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.03812, allocations: 0 / 1.001 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004316/0.03855, allocations: 88 kB / 1.001 GB, free: 7.273 MB / 0.9512 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.0002339/0.03879, allocations: 107.2 kB / 1.001 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.03996, allocations: 0.5181 MB / 1.002 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.03996, allocations: 0 / 1.002 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.04019, allocations: 135.9 kB / 1.002 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.04066, allocations: 55.27 kB / 1.002 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.04219, allocations: 0.7382 MB / 1.003 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.04241, allocations: 197.7 kB / 1.003 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.04263, allocations: 82.22 kB / 1.003 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.04272, allocations: 20.5 kB / 1.003 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.04272, allocations: 0 / 1.003 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of Templates: time 0.009489/0.05221, allocations: 4.156 MB / 1.007 GB, free: 1.27 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] 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: 8.052152335643768]