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.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.001454/0.001454, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00181/0.00181, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 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.9745/0.9745, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.042/2.042, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 4 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.375e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004319/0.004343, allocations: 2.522 MB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.006521, allocations: 1.244 MB / 0.8818 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.006648, allocations: 11.94 kB / 0.8818 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.007141, allocations: 88.61 kB / 0.8819 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.007567, allocations: 183.6 kB / 0.8821 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.007961, allocations: 165.2 kB / 0.8823 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.008358, allocations: 334.4 kB / 0.8826 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.008713, allocations: 172.9 kB / 0.8827 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005734/0.009287, allocations: 195.5 kB / 0.8829 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.009628, allocations: 147.6 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.00968, allocations: 20 kB / 0.8831 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.01001, allocations: 163.6 kB / 0.8833 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.01014, allocations: 107.7 kB / 0.8834 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.01025, allocations: 87.77 kB / 0.8834 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.01072, allocations: 299 kB / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01072, allocations: 0.625 kB / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.01072, allocations: 0.5938 kB / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.01073, allocations: 0 / 0.8837 GB, free: 0.6211 MB / 0.8386 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.0008503/0.01158, allocations: 0.5756 MB / 0.8843 GB, free: 12 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.01161, allocations: 8.031 kB / 0.8843 GB, free: 4 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007583/0.01237, allocations: 138.1 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.01268, allocations: 204.6 kB / 0.8846 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.0127, allocations: 16.88 kB / 0.8846 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.01281, allocations: 32.55 kB / 0.8847 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.01329, allocations: 311.1 kB / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.0133, allocations: 192 / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.01334, allocations: 16.11 kB / 0.885 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.867e-05/0.01344, allocations: 24.48 kB / 0.885 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.01376, allocations: 126.8 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.01528, allocations: 1.19 MB / 0.8863 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.01564, allocations: 143 kB / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.01575, allocations: 51.61 kB / 0.8865 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.01586, allocations: 11.98 kB / 0.8865 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.01589, allocations: 41.33 kB / 0.8865 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.244e-06/0.01589, allocations: 0 / 0.8865 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.001003/0.01689, allocations: 461.8 kB / 0.887 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.01692, allocations: 55.41 kB / 0.887 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.01711, allocations: 239.3 kB / 0.8872 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.01713, allocations: 25.7 kB / 0.8873 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01725, allocations: 219.2 kB / 0.8875 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.01731, allocations: 75.38 kB / 0.8875 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.01741, allocations: 59.34 kB / 0.8876 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01755, allocations: 0.5001 MB / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.01768, allocations: 47.97 kB / 0.8881 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.01785, allocations: 121.8 kB / 0.8883 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.01814, allocations: 185.6 kB / 0.8884 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01814, allocations: 4 kB / 0.8884 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00041/0.01855, allocations: 272.9 kB / 0.8887 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01856, allocations: 4.188 kB / 0.8887 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.01856, allocations: 8 kB / 0.8887 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.01893, allocations: 103.6 kB / 0.8888 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.01908, allocations: 55.84 kB / 0.8889 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.02039, allocations: 1.92 MB / 0.8907 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.02049, allocations: 19.97 kB / 0.8908 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.02051, allocations: 8.188 kB / 0.8908 GB, free: 8.941 MB / 0.8542 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 8.508e-05/0.02059, allocations: 168.5 kB / 0.8909 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/0.02063, allocations: 23.84 kB / 0.8909 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.02085, allocations: 183.4 kB / 0.8911 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.02085, allocations: 4 kB / 0.8911 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.02085, allocations: 0 / 0.8911 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02086, allocations: 3.984 kB / 0.8911 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.02133, allocations: 0.53 MB / 0.8916 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02133, allocations: 3.984 kB / 0.8916 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.02149, allocations: 55.91 kB / 0.8917 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.02149, allocations: 3.984 kB / 0.8917 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.0215, allocations: 8 kB / 0.8917 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.0215, allocations: 4.062 kB / 0.8917 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.02151, allocations: 7.938 kB / 0.8917 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.02179, allocations: 370.8 kB / 0.8921 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.02184, allocations: 35.88 kB / 0.8921 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.02186, allocations: 8 kB / 0.8921 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.02194, allocations: 11.98 kB / 0.8921 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.02197, allocations: 15.97 kB / 0.8921 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.02198, allocations: 7.938 kB / 0.8922 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.02206, allocations: 167.2 kB / 0.8923 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02206, allocations: 0 / 0.8923 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002309/0.02229, allocations: 71.94 kB / 0.8924 GB, free: 7.191 MB / 0.8542 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.0001046/0.02239, allocations: 111.2 kB / 0.8925 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.0228, allocations: 361 kB / 0.8928 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.0228, allocations: 4 kB / 0.8928 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.02288, allocations: 71.97 kB / 0.8929 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.02313, allocations: 37.62 kB / 0.8929 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.02404, allocations: 0.5409 MB / 0.8935 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.068e-05/0.0241, allocations: 100.3 kB / 0.8936 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.021e-05/0.02419, allocations: 49.89 kB / 0.8936 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.02424, allocations: 24.5 kB / 0.8936 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.02424, allocations: 0 / 0.8936 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.00423/0.02847, allocations: 2.811 MB / 0.8964 GB, free: 3.051 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.422059229109436]