Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001739/0.001739, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002156/0.002156, allocations: 217.4 kB / 23.03 MB, free: 4.922 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.186/3.186, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",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.001934/0.001934, allocations: 69.14 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007075/0.3425, allocations: 4.61 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004327/0.3469, allocations: 2.405 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.3473, allocations: 35.62 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.3486, allocations: 410.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.3498, allocations: 465.7 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.3509, allocations: 378.5 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.3524, allocations: 0.9139 MB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007207/0.3531, allocations: 314.6 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008343/0.3539, allocations: 366.6 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00074/0.3547, allocations: 366.5 kB / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/0.3548, allocations: 40 kB / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007873/0.3556, allocations: 359.2 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.3558, allocations: 183.3 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.3561, allocations: 262.7 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.3575, allocations: 0.8948 MB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3575, allocations: 0 / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3575, allocations: 0 / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.3575, allocations: 0 / 1.338 GB, free: 5.535 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001662/0.3592, allocations: 0.8856 MB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3592, allocations: 8.031 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.908e-05/0.3592, allocations: 13.19 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.3593, allocations: 98.62 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.3606, allocations: 208.2 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.3615, allocations: 476.8 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.3615, allocations: 33.38 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/0.3616, allocations: 52.3 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.3629, allocations: 0.9775 MB / 1.341 GB, free: 2.578 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.363, allocations: 7.938 kB / 1.341 GB, free: 2.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.363, allocations: 23.98 kB / 1.341 GB, free: 2.547 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.617e-05/0.3631, allocations: 64.95 kB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.364, allocations: 0.5773 MB / 1.342 GB, free: 1.906 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.3688, allocations: 4.708 MB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.3695, allocations: 424.7 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.3698, allocations: 212.6 kB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3699, allocations: 4 kB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.3699, allocations: 38.56 kB / 1.347 GB, free: 12.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.3699, allocations: 0 / 1.347 GB, free: 12.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002629/0.3725, allocations: 1.128 MB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.3726, allocations: 55.69 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.3732, allocations: 0.495 MB / 1.348 GB, free: 10.6 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.3732, allocations: 29.7 kB / 1.348 GB, free: 10.56 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.3735, allocations: 371.7 kB / 1.349 GB, free: 10.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3736, allocations: 123 kB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.3738, allocations: 118.2 kB / 1.349 GB, free: 9.953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.374, allocations: 362.8 kB / 1.349 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.3743, allocations: 193.2 kB / 1.35 GB, free: 9.398 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.3748, allocations: 447.3 kB / 1.35 GB, free: 8.848 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/0.3758, allocations: 0.6915 MB / 1.351 GB, free: 8.039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.3758, allocations: 4 kB / 1.351 GB, free: 8.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001429/0.3772, allocations: 0.81 MB / 1.352 GB, free: 7.203 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3772, allocations: 8 kB / 1.352 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3772, allocations: 11.94 kB / 1.352 GB, free: 7.184 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.3778, allocations: 144.2 kB / 1.352 GB, free: 7.027 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.3782, allocations: 127.7 kB / 1.352 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/0.382, allocations: 4.034 MB / 1.356 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.3825, allocations: 31.97 kB / 1.356 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.3825, allocations: 28 kB / 1.356 GB, free: 2.465 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.3828, allocations: 217.4 kB / 1.356 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.3829, allocations: 63.7 kB / 1.356 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.384, allocations: 0.601 MB / 1.357 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.384, allocations: 7.984 kB / 1.357 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.384, allocations: 0 / 1.357 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.384, allocations: 0 / 1.357 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.3859, allocations: 1.183 MB / 1.358 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3859, allocations: 4 kB / 1.358 GB, free: 280 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.3862, allocations: 55.83 kB / 1.358 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.3866, allocations: 156.3 kB / 1.358 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.3867, allocations: 8 kB / 1.358 GB, free: 44 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.3903, allocations: 4.014 MB / 1.362 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.3903, allocations: 12.27 kB / 1.362 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3914, allocations: 0.7043 MB / 1.363 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.3916, allocations: 91.58 kB / 1.363 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.3917, allocations: 8 kB / 1.363 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.392, allocations: 23.97 kB / 1.363 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.3921, allocations: 35.83 kB / 1.363 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.3921, allocations: 12 kB / 1.363 GB, free: 10.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004054/0.3925, allocations: 330.8 kB / 1.363 GB, free: 10.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3925, allocations: 0 / 1.363 GB, free: 10.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006587/0.3931, allocations: 144 kB / 1.363 GB, free: 10.28 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/0.3946, allocations: 1.257 MB / 1.364 GB, free: 8.957 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.396, allocations: 0.8588 MB / 1.365 GB, free: 8.055 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.396, allocations: 3.938 kB / 1.365 GB, free: 8.051 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.3969, allocations: 0.58 MB / 1.366 GB, free: 7.426 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3979, allocations: 204.2 kB / 1.366 GB, free: 7.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/0.405, allocations: 5.12 MB / 1.371 GB, free: 1.727 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.4054, allocations: 307.5 kB / 1.371 GB, free: 1.398 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003783/0.4058, allocations: 117.3 kB / 1.371 GB, free: 1.281 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.4061, allocations: 195.4 kB / 1.372 GB, free: 1.09 MB / 1.061 GB Notification: Performance of SimCode: time 1.272e-06/0.4061, allocations: 0 / 1.372 GB, free: 1.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04664/0.4527, allocations: 13.96 MB / 1.385 GB, free: 3.539 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.94, allocations: 20.7 kB / 1.385 GB, free: 3.527 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 19.818553754943423]