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.001309/0.001309, allocations: 111 kB / 16.46 MB, free: 6.453 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.001483/0.001483, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.22/3.22, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [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.002114/0.002114, allocations: 69.33 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005033/0.3383, allocations: 3.141 MB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002938/0.3412, allocations: 1.776 MB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.3413, allocations: 11.94 kB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3424, allocations: 342.7 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.3429, allocations: 215.1 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.3433, allocations: 175.6 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.3438, allocations: 319 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.3441, allocations: 185 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.3444, allocations: 151.5 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.3447, allocations: 171.4 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.3447, allocations: 20 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.3451, allocations: 247.5 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3453, allocations: 103.7 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3454, allocations: 131.4 kB / 1.328 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.3459, allocations: 414.5 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.346, allocations: 7.938 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.346, allocations: 0 / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.346, allocations: 0 / 1.328 GB, free: 11.92 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.00099/0.3469, allocations: 0.5493 MB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.347, allocations: 11.98 kB / 1.329 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.227e-05/0.3471, allocations: 62.72 kB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007606/0.3478, allocations: 100.6 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.3482, allocations: 256 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3482, allocations: 20.73 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.3483, allocations: 28.5 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.3489, allocations: 373 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.349, allocations: 4 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.349, allocations: 4 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.3491, allocations: 36.41 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.3496, allocations: 317.4 kB / 1.33 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.3516, allocations: 1.526 MB / 1.331 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.3521, allocations: 221.6 kB / 1.331 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.3522, allocations: 104.8 kB / 1.331 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.3524, allocations: 89.09 kB / 1.332 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3524, allocations: 38.56 kB / 1.332 GB, free: 7.898 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.3524, allocations: 0 / 1.332 GB, free: 7.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001362/0.3538, allocations: 0.7906 MB / 1.332 GB, free: 7.059 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.3538, allocations: 55.41 kB / 1.332 GB, free: 6.992 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.354, allocations: 192 kB / 1.333 GB, free: 6.797 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3541, allocations: 33.7 kB / 1.333 GB, free: 6.758 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.3542, allocations: 160.2 kB / 1.333 GB, free: 6.598 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.3542, allocations: 79.25 kB / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3543, allocations: 57.69 kB / 1.333 GB, free: 6.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3545, allocations: 330.7 kB / 1.333 GB, free: 6.125 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3547, allocations: 111.9 kB / 1.333 GB, free: 6.016 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3549, allocations: 182.1 kB / 1.334 GB, free: 5.816 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.3554, allocations: 291.6 kB / 1.334 GB, free: 5.512 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3554, allocations: 0 / 1.334 GB, free: 5.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008261/0.3562, allocations: 415.9 kB / 1.334 GB, free: 5.098 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3562, allocations: 5.719 kB / 1.334 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3562, allocations: 0 / 1.334 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.3567, allocations: 101 kB / 1.334 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.3569, allocations: 55.89 kB / 1.334 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.3591, allocations: 1.887 MB / 1.336 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.3594, allocations: 15.92 kB / 1.336 GB, free: 2.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.3594, allocations: 8 kB / 1.336 GB, free: 2.887 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.0001783/0.3596, allocations: 157.8 kB / 1.336 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.3596, allocations: 19.86 kB / 1.336 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.3602, allocations: 299.4 kB / 1.337 GB, free: 2.406 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3602, allocations: 4 kB / 1.337 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.3602, allocations: 0 / 1.337 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3602, allocations: 3.938 kB / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/0.3612, allocations: 0.6991 MB / 1.337 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3612, allocations: 0 / 1.337 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.3615, allocations: 55.95 kB / 1.337 GB, free: 1.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.3615, allocations: 7.938 kB / 1.337 GB, free: 1.574 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.3615, allocations: 8 kB / 1.337 GB, free: 1.566 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.3615, allocations: 7.984 kB / 1.337 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3615, allocations: 0 / 1.337 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.3622, allocations: 0.5105 MB / 1.338 GB, free: 1.027 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3623, allocations: 121 kB / 1.338 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.3624, allocations: 4 kB / 1.338 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3626, allocations: 16.05 kB / 1.338 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3626, allocations: 15.92 kB / 1.338 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3626, allocations: 11.94 kB / 1.338 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001412/0.3628, allocations: 140.1 kB / 1.338 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3628, allocations: 0 / 1.338 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003869/0.3631, allocations: 68 kB / 1.338 GB, free: 0.6367 MB / 1.029 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.001089/0.3642, allocations: 1.064 MB / 1.339 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007758/0.365, allocations: 416.6 kB / 1.34 GB, free: 15.12 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.365, allocations: 0 / 1.34 GB, free: 15.12 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.3652, allocations: 107.9 kB / 1.34 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3656, allocations: 41.47 kB / 1.34 GB, free: 14.98 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.3697, allocations: 2.889 MB / 1.343 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.3701, allocations: 0.7753 MB / 1.343 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.3703, allocations: 57.91 kB / 1.344 GB, free: 11.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3704, allocations: 63.41 kB / 1.344 GB, free: 11.04 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.3704, allocations: 0 / 1.344 GB, free: 11.04 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.4141, allocations: 5.13 MB / 1.349 GB, free: 6.094 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.01, allocations: 17.2 kB / 1.349 GB, free: 6.082 MB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv","/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] "Error: Could not read variable sen.I in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable sen.V in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.V from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[2] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[2] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.721606189850718]