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.0007315/0.0007315, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001752, allocations: 449.7 kB / 10.37 MB, free: 328 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.001046/0.001046, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002332, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9222/0.9222, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.022, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.831/1.831, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5615/2.392, allocations: 123.3 MB / 0.728 GB, free: 5.84 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 1.894e-06/1.894e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.913e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004656/0.004685, allocations: 2.583 MB / 0.7318 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.007054, allocations: 1.279 MB / 0.7331 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.007241, allocations: 9.344 kB / 0.7331 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.007714, allocations: 119.4 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.008177, allocations: 197.1 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.0087, allocations: 159.5 kB / 0.7335 GB, free: 260 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.009209, allocations: 359.6 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.009537, allocations: 178.8 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.009913, allocations: 213.3 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.01027, allocations: 167.5 kB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.01031, allocations: 20 kB / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.01066, allocations: 164.1 kB / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.01078, allocations: 104.8 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.01088, allocations: 67.88 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.01133, allocations: 271.1 kB / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.237e-05/0.01136, allocations: 4.594 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.845e-06/0.01136, allocations: 0 / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.01138, allocations: 5.062 kB / 0.735 GB, free: 14.73 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.0009117/0.01229, allocations: 0.5004 MB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.01233, allocations: 12.03 kB / 0.7355 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/0.01303, allocations: 190.3 kB / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.01332, allocations: 185 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.01335, allocations: 24.86 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.01344, allocations: 25.34 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.0138, allocations: 275.8 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.01381, allocations: 1.438 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.01384, allocations: 16.11 kB / 0.7362 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.782e-05/0.01393, allocations: 28.47 kB / 0.7362 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.01411, allocations: 88.23 kB / 0.7363 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.01542, allocations: 0.84 MB / 0.7372 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.01568, allocations: 164 kB / 0.7373 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.407e-05/0.01574, allocations: 38.34 kB / 0.7373 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.413e-05/0.01583, allocations: 11.98 kB / 0.7374 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01585, allocations: 30.56 kB / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.01585, allocations: 0.875 kB / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0007526/0.01661, allocations: 357.2 kB / 0.7377 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.01664, allocations: 56.66 kB / 0.7378 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.01678, allocations: 174.5 kB / 0.7379 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.0168, allocations: 29.7 kB / 0.738 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.01688, allocations: 157.6 kB / 0.7381 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.01693, allocations: 79.33 kB / 0.7382 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.01701, allocations: 53.64 kB / 0.7383 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.01711, allocations: 332 kB / 0.7386 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.01717, allocations: 27.98 kB / 0.7386 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.456e-05/0.01727, allocations: 90.44 kB / 0.7387 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.01745, allocations: 147 kB / 0.7388 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01745, allocations: 0 / 0.7388 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003929/0.01784, allocations: 202.2 kB / 0.739 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.01786, allocations: 8.625 kB / 0.739 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01787, allocations: 3.938 kB / 0.739 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004288/0.01829, allocations: 109.1 kB / 0.7391 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.01848, allocations: 43.97 kB / 0.7392 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.01968, allocations: 1.351 MB / 0.7405 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.01981, allocations: 11.94 kB / 0.7405 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.01983, allocations: 12 kB / 0.7405 GB, free: 8.762 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.0001096/0.01994, allocations: 127.5 kB / 0.7406 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.01998, allocations: 11.98 kB / 0.7406 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.02023, allocations: 149.1 kB / 0.7408 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.02023, allocations: 5.875 kB / 0.7408 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.02023, allocations: 0 / 0.7408 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02023, allocations: 0 / 0.7408 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.02074, allocations: 404.1 kB / 0.7412 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.02074, allocations: 0.8125 kB / 0.7412 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.02101, allocations: 68.73 kB / 0.7412 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.02108, allocations: 39.77 kB / 0.7413 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.02108, allocations: 4.656 kB / 0.7413 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.0211, allocations: 4.656 kB / 0.7413 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.0211, allocations: 4 kB / 0.7413 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.0211, allocations: 2.031 kB / 0.7413 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.02139, allocations: 307.8 kB / 0.7416 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.02142, allocations: 7.953 kB / 0.7416 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.02153, allocations: 4 kB / 0.7416 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.02156, allocations: 15.97 kB / 0.7416 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.02157, allocations: 6.438 kB / 0.7416 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.02163, allocations: 50.81 kB / 0.7417 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.02163, allocations: 0 / 0.7417 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003126/0.02194, allocations: 64 kB / 0.7417 GB, free: 7.453 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.0001574/0.0221, allocations: 92.34 kB / 0.7418 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.02252, allocations: 272.3 kB / 0.7421 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.02254, allocations: 5.5 kB / 0.7421 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.02261, allocations: 64.95 kB / 0.7422 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.0229, allocations: 52.91 kB / 0.7422 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.02625, allocations: 0.5089 MB / 0.7427 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.02634, allocations: 110.5 kB / 0.7428 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.02646, allocations: 24.38 kB / 0.7428 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.02661, allocations: 87.34 kB / 0.7429 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of SimCode: time 9.51e-07/0.02661, allocations: 1.438 kB / 0.7429 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of Templates: time 0.005473/0.03208, allocations: 3.013 MB / 0.7459 GB, free: 3.293 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.812393086962402]