Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001311/0.001311, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001535/0.001535, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 8.016 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.061/3.061, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.001943/0.001943, allocations: 62.31 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005537/0.3076, allocations: 3.876 MB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.3107, allocations: 1.886 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.3109, allocations: 27.75 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.3118, allocations: 278.6 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006084/0.3124, allocations: 310.4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.313, allocations: 259.3 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.3137, allocations: 0.6091 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.3141, allocations: 238.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00038/0.3144, allocations: 251.1 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.3148, allocations: 243 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.3148, allocations: 28 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.3153, allocations: 283.4 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3154, allocations: 127.5 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.3156, allocations: 210.9 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.3163, allocations: 0.5914 MB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3163, allocations: 0 / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3163, allocations: 0 / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.3163, allocations: 0 / 1.335 GB, free: 8.738 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001153/0.3175, allocations: 0.6759 MB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3175, allocations: 12.03 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.084e-05/0.3176, allocations: 78.64 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/0.3184, allocations: 136.5 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.319, allocations: 337.4 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.319, allocations: 21.03 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.3191, allocations: 36.31 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.3199, allocations: 0.5586 MB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3199, allocations: 4 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.32, allocations: 12 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-05/0.32, allocations: 40.62 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.3207, allocations: 410.1 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.3237, allocations: 3.267 MB / 1.34 GB, free: 2.801 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.3243, allocations: 318.5 kB / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.3246, allocations: 160.7 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3246, allocations: 4 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3246, allocations: 34.56 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.3246, allocations: 0 / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001879/0.3265, allocations: 0.8358 MB / 1.342 GB, free: 1.422 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3265, allocations: 55.64 kB / 1.342 GB, free: 1.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.3269, allocations: 349.6 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3269, allocations: 29.7 kB / 1.342 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.3271, allocations: 252.1 kB / 1.342 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.3272, allocations: 99.16 kB / 1.342 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3273, allocations: 74.09 kB / 1.342 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3274, allocations: 346.8 kB / 1.343 GB, free: 196 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.3277, allocations: 156.7 kB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.3281, allocations: 286.6 kB / 1.343 GB, free: 15.7 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/0.3288, allocations: 490.5 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3289, allocations: 4 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001008/0.3299, allocations: 0.5623 MB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3299, allocations: 7.938 kB / 1.344 GB, free: 14.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3299, allocations: 8 kB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.3302, allocations: 86.44 kB / 1.344 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.3305, allocations: 87.89 kB / 1.344 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.3305, allocations: 15.86 kB / 1.344 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.3308, allocations: 36.09 kB / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.3308, allocations: 12 kB / 1.344 GB, free: 14.31 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.331, allocations: 178.5 kB / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.3311, allocations: 43.72 kB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008888/0.332, allocations: 472.2 kB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.332, allocations: 4 kB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.332, allocations: 0 / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.332, allocations: 0 / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.3335, allocations: 0.9354 MB / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3335, allocations: 0 / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.3337, allocations: 51.84 kB / 1.346 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.334, allocations: 86.5 kB / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.334, allocations: 0 / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.334, allocations: 4 kB / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.334, allocations: 96 / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.3349, allocations: 0.5469 MB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.335, allocations: 63.73 kB / 1.347 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.3351, allocations: 4 kB / 1.347 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3353, allocations: 27.91 kB / 1.347 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.3354, allocations: 27.89 kB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3354, allocations: 8 kB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002452/0.3356, allocations: 231.2 kB / 1.347 GB, free: 11.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3356, allocations: 0 / 1.347 GB, free: 11.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004108/0.336, allocations: 88 kB / 1.347 GB, free: 11.44 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/0.3372, allocations: 1.096 MB / 1.348 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008416/0.3381, allocations: 405.4 kB / 1.349 GB, free: 9.891 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3381, allocations: 0 / 1.349 GB, free: 9.891 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.3385, allocations: 186.4 kB / 1.349 GB, free: 9.699 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.3391, allocations: 136.6 kB / 1.349 GB, free: 9.562 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.3441, allocations: 3.729 MB / 1.353 GB, free: 5.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.3445, allocations: 0.8269 MB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.3448, allocations: 79.34 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.345, allocations: 131.4 kB / 1.354 GB, free: 4.535 MB / 1.045 GB Notification: Performance of SimCode: time 3.6e-07/0.345, allocations: 0 / 1.354 GB, free: 4.535 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.319/1.664, allocations: 8.66 MB / 1.362 GB, free: 12.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.84, allocations: 8.578 kB / 1.362 GB, free: 12.08 MB / 1.061 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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: 23.480135501129553]