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.001399/0.001399, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00166/0.00166, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.263/3.263, allocations: 0.49 GB / 0.7958 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",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.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [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.002053/0.002053, allocations: 67.45 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.422, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005768/0.4278, allocations: 3.213 MB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.4313, allocations: 1.819 MB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.4314, allocations: 4 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.4326, allocations: 354.6 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.4332, allocations: 207.1 kB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.4337, allocations: 190.5 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00045/0.4342, allocations: 319 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.4346, allocations: 169.5 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.4348, allocations: 151.5 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003549/0.4352, allocations: 167.4 kB / 1.334 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.4352, allocations: 20 kB / 1.334 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.4357, allocations: 255.5 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.4359, allocations: 103.7 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.436, allocations: 115.5 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006624/0.4367, allocations: 430.5 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4367, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.246e-06/0.4367, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.4367, allocations: 0 / 1.334 GB, free: 10 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001232/0.4379, allocations: 485.3 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.438, allocations: 16.02 kB / 1.335 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007881/0.4388, allocations: 92.69 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.4391, allocations: 203.6 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4392, allocations: 12.81 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4393, allocations: 32.5 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.4399, allocations: 380.7 kB / 1.336 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4399, allocations: 0 / 1.336 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.4399, allocations: 15.92 kB / 1.336 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.44, allocations: 32.41 kB / 1.336 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.4405, allocations: 301.5 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.4425, allocations: 1.491 MB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.443, allocations: 226.4 kB / 1.338 GB, free: 6.516 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.4432, allocations: 106 kB / 1.338 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.4433, allocations: 8 kB / 1.338 GB, free: 6.402 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.4433, allocations: 38.47 kB / 1.338 GB, free: 6.355 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.4433, allocations: 0 / 1.338 GB, free: 6.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001318/0.4447, allocations: 0.716 MB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.4447, allocations: 55.34 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.4449, allocations: 202.7 kB / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.4449, allocations: 29.7 kB / 1.339 GB, free: 5.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4451, allocations: 164.1 kB / 1.339 GB, free: 5.137 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.4451, allocations: 71.41 kB / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4452, allocations: 61.66 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4454, allocations: 330.8 kB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.4456, allocations: 111.9 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.4458, allocations: 173.9 kB / 1.34 GB, free: 4.367 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.4462, allocations: 299.4 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4462, allocations: 0 / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007778/0.447, allocations: 412.4 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.447, allocations: 8 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.447, allocations: 192 / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.4475, allocations: 100.8 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.4477, allocations: 55.91 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.4498, allocations: 1.772 MB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.45, allocations: 23.95 kB / 1.342 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.4501, allocations: 11.98 kB / 1.342 GB, free: 1.559 MB / 1.029 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.0001743/0.4502, allocations: 155.4 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.4503, allocations: 19.86 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.4508, allocations: 299.4 kB / 1.343 GB, free: 1.078 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4508, allocations: 7.938 kB / 1.343 GB, free: 1.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.4508, allocations: 0 / 1.343 GB, free: 1.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4508, allocations: 7.922 kB / 1.343 GB, free: 1.062 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000969/0.4518, allocations: 0.6609 MB / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4518, allocations: 4 kB / 1.343 GB, free: 352 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.4521, allocations: 59.89 kB / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4521, allocations: 8.062 kB / 1.343 GB, free: 284 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.4521, allocations: 7.938 kB / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4521, allocations: 4 kB / 1.343 GB, free: 272 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4521, allocations: 0 / 1.343 GB, free: 272 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.4528, allocations: 0.5136 MB / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4529, allocations: 47.8 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.4529, allocations: 8.062 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.4531, allocations: 15.98 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.4531, allocations: 15.95 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.4531, allocations: 4 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001571/0.4533, allocations: 152 kB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4533, allocations: 0 / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003917/0.4537, allocations: 64 kB / 1.344 GB, free: 15.43 MB / 1.045 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.0001797/0.4539, allocations: 111.1 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007762/0.4547, allocations: 410.3 kB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4547, allocations: 0 / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.4548, allocations: 107.9 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.4552, allocations: 56.28 kB / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4566, allocations: 0.6594 MB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.457, allocations: 0.7791 MB / 1.346 GB, free: 13.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.4571, allocations: 23.42 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4571, allocations: 0 / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of Templates: time 0.006772/0.4639, allocations: 3.608 MB / 1.35 GB, free: 9.605 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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: 12.412911951018032]