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.001745/0.001745, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002212/0.002212, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.773 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.123/3.123, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.002149/0.002149, allocations: 67.77 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3132, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00492/0.3181, allocations: 3.101 MB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.321, allocations: 1.695 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.3211, allocations: 11.94 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3222, allocations: 330.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005085/0.3227, allocations: 215.1 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.3231, allocations: 179.6 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.3235, allocations: 315 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.3239, allocations: 181.4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.3241, allocations: 143.6 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.3244, allocations: 175.4 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.3244, allocations: 20 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.3249, allocations: 223.5 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.325, allocations: 99.72 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3251, allocations: 111.5 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.3257, allocations: 426.5 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3257, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3257, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3257, allocations: 0 / 1.333 GB, free: 10.29 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.0009991/0.3267, allocations: 481.4 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3268, allocations: 8.031 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.484e-05/0.3269, allocations: 66.7 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007125/0.3276, allocations: 96.69 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.328, allocations: 198.1 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.328, allocations: 20.8 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3281, allocations: 24.52 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.3287, allocations: 431.9 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3287, allocations: 0 / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.3288, allocations: 15.94 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.3289, allocations: 28.36 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.3294, allocations: 309.5 kB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3311, allocations: 1.093 MB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.3315, allocations: 206.5 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3317, allocations: 100.8 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3318, allocations: 15.98 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3318, allocations: 34.56 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.3318, allocations: 0 / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001293/0.3331, allocations: 0.7184 MB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.3331, allocations: 59.41 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3333, allocations: 198.7 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3334, allocations: 29.7 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3335, allocations: 160.2 kB / 1.337 GB, free: 5.797 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.3335, allocations: 79.31 kB / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.3336, allocations: 53.69 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3338, allocations: 334.8 kB / 1.337 GB, free: 5.324 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.334, allocations: 111.9 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.3342, allocations: 173.9 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.3346, allocations: 292.6 kB / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3346, allocations: 0 / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008096/0.3354, allocations: 422 kB / 1.338 GB, free: 4.297 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3354, allocations: 7.938 kB / 1.338 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3354, allocations: 4 kB / 1.338 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/0.3358, allocations: 100.9 kB / 1.338 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.3361, allocations: 47.97 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.3381, allocations: 1.764 MB / 1.34 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3384, allocations: 15.92 kB / 1.34 GB, free: 2.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.3384, allocations: 16.06 kB / 1.34 GB, free: 2.227 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.0001658/0.3385, allocations: 158 kB / 1.34 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.3386, allocations: 15.91 kB / 1.34 GB, free: 2.051 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.3391, allocations: 305.1 kB / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3391, allocations: 0 / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.3391, allocations: 0 / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3391, allocations: 3.938 kB / 1.341 GB, free: 1.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009646/0.3401, allocations: 0.6527 MB / 1.341 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3401, allocations: 192 / 1.341 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.3404, allocations: 63.89 kB / 1.341 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3404, allocations: 3.938 kB / 1.341 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.3404, allocations: 8 kB / 1.341 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3404, allocations: 3.984 kB / 1.341 GB, free: 0.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3404, allocations: 0 / 1.341 GB, free: 0.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.3411, allocations: 0.5216 MB / 1.342 GB, free: 424 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3412, allocations: 39.97 kB / 1.342 GB, free: 384 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.3412, allocations: 12 kB / 1.342 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3414, allocations: 11.98 kB / 1.342 GB, free: 360 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.3414, allocations: 11.98 kB / 1.342 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3414, allocations: 7.984 kB / 1.342 GB, free: 340 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001456/0.3416, allocations: 148 kB / 1.342 GB, free: 188 kB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3416, allocations: 0 / 1.342 GB, free: 188 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003665/0.342, allocations: 68 kB / 1.342 GB, free: 120 kB / 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.001004/0.343, allocations: 1.059 MB / 1.343 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000739/0.3437, allocations: 410.4 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3437, allocations: 0 / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.3439, allocations: 109.4 kB / 1.344 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3443, allocations: 38.55 kB / 1.344 GB, free: 14.47 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.3482, allocations: 2.897 MB / 1.347 GB, free: 11.44 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.3483, allocations: 157.2 kB / 1.347 GB, free: 11.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.3485, allocations: 57.91 kB / 1.347 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3486, allocations: 71.41 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3486, allocations: 0 / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.3839, allocations: 5.818 MB / 1.353 GB, free: 5.496 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.73, allocations: 5.547 kB / 1.353 GB, free: 5.492 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.423545722995186]