Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 107.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 249.9 MB, free: 3.195 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 489.7 MB / 0.7761 GB, free: 2.395 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 67.89 kB / 1.127 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271/1.273, allocations: 172 MB / 1.295 GB, free: 38.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004267/1.277, allocations: 3.133 MB / 1.298 GB, free: 36.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002457/1.28, allocations: 1.746 MB / 1.3 GB, free: 35.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/1.28, allocations: 6.719 kB / 1.3 GB, free: 35.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009758/1.281, allocations: 337.4 kB / 1.3 GB, free: 35.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004798/1.281, allocations: 216.6 kB / 1.3 GB, free: 35.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/1.282, allocations: 182.6 kB / 1.3 GB, free: 35.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003548/1.282, allocations: 322.8 kB / 1.301 GB, free: 34.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/1.282, allocations: 182.6 kB / 1.301 GB, free: 34.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/1.283, allocations: 131.2 kB / 1.301 GB, free: 34.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/1.283, allocations: 173 kB / 1.301 GB, free: 34.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/1.283, allocations: 24 kB / 1.301 GB, free: 34.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/1.283, allocations: 249.7 kB / 1.301 GB, free: 34.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/1.283, allocations: 110.2 kB / 1.301 GB, free: 34.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/1.283, allocations: 122.8 kB / 1.302 GB, free: 34.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/1.284, allocations: 423.7 kB / 1.302 GB, free: 34.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.284, allocations: 0 / 1.302 GB, free: 34.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/1.284, allocations: 0 / 1.302 GB, free: 34.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.284, allocations: 3.234 kB / 1.302 GB, free: 34.35 MB / 1.061 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.0009347/1.285, allocations: 0.5573 MB / 1.303 GB, free: 33.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.285, allocations: 14.91 kB / 1.303 GB, free: 33.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/1.286, allocations: 93.64 kB / 1.303 GB, free: 33.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/1.286, allocations: 261.9 kB / 1.303 GB, free: 33.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/1.286, allocations: 15.41 kB / 1.303 GB, free: 33.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/1.286, allocations: 22.56 kB / 1.303 GB, free: 33.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/1.287, allocations: 376.4 kB / 1.303 GB, free: 33.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.287, allocations: 6.578 kB / 1.303 GB, free: 33.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/1.287, allocations: 11.98 kB / 1.303 GB, free: 33.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.98e-05/1.287, allocations: 26.33 kB / 1.303 GB, free: 33.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/1.287, allocations: 307.6 kB / 1.304 GB, free: 33.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/1.289, allocations: 1.523 MB / 1.305 GB, free: 32.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/1.289, allocations: 209.3 kB / 1.305 GB, free: 31.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/1.289, allocations: 111.1 kB / 1.305 GB, free: 31.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/1.289, allocations: 92.17 kB / 1.305 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/1.289, allocations: 34.5 kB / 1.306 GB, free: 31.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/1.289, allocations: 0 / 1.306 GB, free: 31.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001112/1.29, allocations: 0.7953 MB / 1.306 GB, free: 31.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/1.29, allocations: 58.25 kB / 1.306 GB, free: 31.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/1.291, allocations: 200.7 kB / 1.307 GB, free: 31.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/1.291, allocations: 36.42 kB / 1.307 GB, free: 31.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/1.291, allocations: 158 kB / 1.307 GB, free: 30.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/1.291, allocations: 78.61 kB / 1.307 GB, free: 30.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/1.291, allocations: 53.2 kB / 1.307 GB, free: 30.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/1.291, allocations: 331.9 kB / 1.307 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/1.291, allocations: 110.3 kB / 1.307 GB, free: 30.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/1.291, allocations: 172.8 kB / 1.307 GB, free: 30.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/1.291, allocations: 296.1 kB / 1.308 GB, free: 30.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.291, allocations: 0 / 1.308 GB, free: 30.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000661/1.292, allocations: 416.8 kB / 1.308 GB, free: 29.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.292, allocations: 5.688 kB / 1.308 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.292, allocations: 3.156 kB / 1.308 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/1.293, allocations: 99.78 kB / 1.308 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/1.293, allocations: 54.92 kB / 1.308 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/1.294, allocations: 1.881 MB / 1.31 GB, free: 28.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/1.295, allocations: 19.53 kB / 1.31 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/1.295, allocations: 12.06 kB / 1.31 GB, free: 28.36 MB / 1.061 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.0001341/1.295, allocations: 154.2 kB / 1.31 GB, free: 28.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/1.295, allocations: 19.73 kB / 1.31 GB, free: 28.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/1.295, allocations: 300.3 kB / 1.311 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.295, allocations: 2.844 kB / 1.311 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/1.295, allocations: 0 / 1.311 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.295, allocations: 7.172 kB / 1.311 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/1.296, allocations: 0.7 MB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.296, allocations: 0 / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/1.296, allocations: 60.36 kB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.296, allocations: 4.25 kB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/1.296, allocations: 14.84 kB / 1.311 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.296, allocations: 2.969 kB / 1.311 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.296, allocations: 0 / 1.311 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/1.297, allocations: 0.5166 MB / 1.312 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/1.297, allocations: 118.9 kB / 1.312 GB, free: 27.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/1.297, allocations: 10.66 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/1.297, allocations: 12.44 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/1.297, allocations: 12.36 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/1.297, allocations: 9.844 kB / 1.312 GB, free: 27.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001/1.297, allocations: 146.9 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.297, allocations: 0 / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003663/1.298, allocations: 66.81 kB / 1.312 GB, free: 27.06 MB / 1.061 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.0001624/1.298, allocations: 108.7 kB / 1.312 GB, free: 26.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006325/1.298, allocations: 404.7 kB / 1.313 GB, free: 26.76 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.298, allocations: 0 / 1.313 GB, free: 26.76 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/1.298, allocations: 118.8 kB / 1.313 GB, free: 26.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/1.299, allocations: 37.42 kB / 1.313 GB, free: 26.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/1.3, allocations: 0.6714 MB / 1.314 GB, free: 26.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/1.3, allocations: 0.7759 MB / 1.314 GB, free: 25.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/1.3, allocations: 19.94 kB / 1.314 GB, free: 25.57 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.3, allocations: 2.906 kB / 1.314 GB, free: 25.57 MB / 1.061 GB Notification: Performance of Templates: time 0.005498/1.306, allocations: 3.627 MB / 1.318 GB, free: 25.26 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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