Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001141/0.001141, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001674/0.002816, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001073/0.001073, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002439, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9582/0.9582, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09192/1.05, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.781/1.781, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5593/2.34, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 0 / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.34e-05/4.701e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005564/0.005611, allocations: 2.591 MB / 0.7322 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.008054, allocations: 1.274 MB / 0.7334 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.008196, allocations: 7.938 kB / 0.7334 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.008662, allocations: 120 kB / 0.7335 GB, free: 496 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.009081, allocations: 198.9 kB / 0.7337 GB, free: 296 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.009514, allocations: 166 kB / 0.7339 GB, free: 132 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.009967, allocations: 354.9 kB / 0.7342 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.01031, allocations: 178.2 kB / 0.7344 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.01068, allocations: 209.3 kB / 0.7346 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.01104, allocations: 171.4 kB / 0.7348 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.01109, allocations: 20 kB / 0.7348 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.01143, allocations: 163.6 kB / 0.7349 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.01155, allocations: 100.6 kB / 0.735 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.925e-05/0.01165, allocations: 71.81 kB / 0.7351 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.0121, allocations: 283.5 kB / 0.7354 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.01212, allocations: 1.688 kB / 0.7354 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01212, allocations: 0 / 0.7354 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.01214, allocations: 0 / 0.7354 GB, free: 14.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008718/0.01301, allocations: 0.4889 MB / 0.7358 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.01306, allocations: 12.03 kB / 0.7359 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007608/0.01382, allocations: 195 kB / 0.736 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.01412, allocations: 187.1 kB / 0.7362 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.01414, allocations: 20.81 kB / 0.7362 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.01424, allocations: 24.56 kB / 0.7363 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.01462, allocations: 279.8 kB / 0.7365 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.01464, allocations: 5.391 kB / 0.7365 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.01467, allocations: 12.11 kB / 0.7365 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.603e-05/0.01477, allocations: 32.42 kB / 0.7366 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.01497, allocations: 80.05 kB / 0.7367 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.0162, allocations: 0.8395 MB / 0.7375 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.01647, allocations: 164.8 kB / 0.7376 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.01654, allocations: 31.23 kB / 0.7377 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.304e-05/0.01663, allocations: 12.77 kB / 0.7377 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.01666, allocations: 38.56 kB / 0.7377 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.244e-06/0.01667, allocations: 0.9688 kB / 0.7377 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0008806/0.01755, allocations: 367.4 kB / 0.7381 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.01758, allocations: 59.41 kB / 0.7381 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.01773, allocations: 166.5 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.01776, allocations: 39.14 kB / 0.7383 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.01786, allocations: 164.5 kB / 0.7385 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.01791, allocations: 71.36 kB / 0.7385 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/0.01801, allocations: 53.62 kB / 0.7386 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01812, allocations: 328 kB / 0.7389 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.01819, allocations: 31.92 kB / 0.7389 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.0183, allocations: 85.95 kB / 0.739 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01851, allocations: 146.3 kB / 0.7392 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.01852, allocations: 0 / 0.7392 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000486/0.019, allocations: 207.9 kB / 0.7394 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.01902, allocations: 8 kB / 0.7394 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.01903, allocations: 0 / 0.7394 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.01957, allocations: 113.8 kB / 0.7395 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.01977, allocations: 55.91 kB / 0.7395 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.0211, allocations: 1.353 MB / 0.7408 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.02125, allocations: 10.53 kB / 0.7409 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.02127, allocations: 4 kB / 0.7409 GB, free: 8.621 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.02139, allocations: 124.6 kB / 0.741 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.02143, allocations: 15.98 kB / 0.741 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.0217, allocations: 144.3 kB / 0.7411 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.0217, allocations: 0.9688 kB / 0.7411 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.0217, allocations: 4 kB / 0.7411 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.02171, allocations: 3.984 kB / 0.7411 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.02225, allocations: 395.5 kB / 0.7415 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.02226, allocations: 4.188 kB / 0.7415 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.02258, allocations: 75.88 kB / 0.7416 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.02265, allocations: 39.75 kB / 0.7416 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.02266, allocations: 4 kB / 0.7416 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.02268, allocations: 4 kB / 0.7416 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.02268, allocations: 3.031 kB / 0.7416 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.02268, allocations: 4 kB / 0.7416 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.02301, allocations: 305.5 kB / 0.7419 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.02304, allocations: 11.95 kB / 0.7419 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.02317, allocations: 8 kB / 0.742 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.02321, allocations: 7.984 kB / 0.742 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.02322, allocations: 7.984 kB / 0.742 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.02329, allocations: 56.31 kB / 0.742 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.02329, allocations: 0 / 0.742 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003261/0.02361, allocations: 68 kB / 0.7421 GB, free: 7.301 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[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 (20): * Single equations (assignments): 20 * 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.0001678/0.02378, allocations: 89.42 kB / 0.7422 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.02425, allocations: 267.6 kB / 0.7424 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.02426, allocations: 0.6875 kB / 0.7424 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.02437, allocations: 73.22 kB / 0.7425 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.02478, allocations: 260.8 kB / 0.7428 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.02839, allocations: 0.5196 MB / 0.7433 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.75e-05/0.02848, allocations: 100.3 kB / 0.7434 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.0286, allocations: 27.94 kB / 0.7434 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.02876, allocations: 83.34 kB / 0.7435 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/0.02876, allocations: 0 / 0.7435 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of Templates: time 0.007131/0.0359, allocations: 3.062 MB / 0.7464 GB, free: 2.855 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.945019390434027]