Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 106.5 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 13.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 1.056 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8315, allocations: 160.7 MB / 1.213 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006649/0.8382, allocations: 3.783 MB / 1.217 GB, free: 1.008 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003829/0.842, allocations: 1.807 MB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.8425, allocations: 16.88 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.8436, allocations: 275.3 kB / 1.219 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.8447, allocations: 310.1 kB / 1.219 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/0.8455, allocations: 248.4 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.8466, allocations: 0.6058 MB / 1.22 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004916/0.8471, allocations: 217 kB / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005493/0.8476, allocations: 231.9 kB / 1.22 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.8481, allocations: 253 kB / 1.22 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.309e-05/0.8482, allocations: 30.06 kB / 1.22 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.8489, allocations: 284.6 kB / 1.221 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.8491, allocations: 126.2 kB / 1.221 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.8495, allocations: 209.2 kB / 1.221 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.8507, allocations: 0.5914 MB / 1.222 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8507, allocations: 0 / 1.222 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8507, allocations: 0 / 1.222 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.8507, allocations: 1.094 kB / 1.222 GB, free: 13.39 MB / 0.9356 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.001696/0.8524, allocations: 0.7502 MB / 1.222 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8524, allocations: 9.875 kB / 1.222 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.8525, allocations: 75.33 kB / 1.222 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.8536, allocations: 137.1 kB / 1.223 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007896/0.8544, allocations: 414.8 kB / 1.223 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.8544, allocations: 21.59 kB / 1.223 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.8545, allocations: 30.98 kB / 1.223 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.8554, allocations: 0.552 MB / 1.224 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.8555, allocations: 2.531 kB / 1.224 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.8555, allocations: 12.78 kB / 1.224 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-05/0.8556, allocations: 45.94 kB / 1.224 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008021/0.8564, allocations: 409.1 kB / 1.224 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.86, allocations: 3.341 MB / 1.227 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.8608, allocations: 310 kB / 1.228 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.8611, allocations: 161.5 kB / 1.228 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.8611, allocations: 7.812 kB / 1.228 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.8611, allocations: 31.59 kB / 1.228 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.8611, allocations: 0 / 1.228 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.002359/0.8635, allocations: 1.061 MB / 1.229 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.8636, allocations: 54.92 kB / 1.229 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.864, allocations: 342.6 kB / 1.229 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.864, allocations: 32.23 kB / 1.229 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.8642, allocations: 261.4 kB / 1.229 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.73e-05/0.8643, allocations: 103 kB / 1.23 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.8645, allocations: 78.08 kB / 1.23 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.8646, allocations: 346.8 kB / 1.23 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.865, allocations: 148.8 kB / 1.23 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.8654, allocations: 298.5 kB / 1.23 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.8661, allocations: 483.1 kB / 1.231 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8661, allocations: 3.938 kB / 1.231 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00112/0.8673, allocations: 0.5583 MB / 1.231 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8673, allocations: 8 kB / 1.231 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8673, allocations: 4 kB / 1.231 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.8676, allocations: 94.44 kB / 1.232 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.868, allocations: 83.88 kB / 1.232 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/0.868, allocations: 19.86 kB / 1.232 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.8683, allocations: 36.12 kB / 1.232 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.8684, allocations: 16 kB / 1.232 GB, free: 4.375 MB / 0.9356 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.0002344/0.8686, allocations: 172.3 kB / 1.232 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.8687, allocations: 43.75 kB / 1.232 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.8697, allocations: 464.2 kB / 1.232 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.8697, allocations: 7.938 kB / 1.232 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8697, allocations: 0 / 1.232 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8697, allocations: 0 / 1.232 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.8714, allocations: 0.9598 MB / 1.233 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8714, allocations: 0 / 1.233 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.8717, allocations: 47.95 kB / 1.233 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.8719, allocations: 86.45 kB / 1.233 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.872, allocations: 4 kB / 1.233 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.872, allocations: 4 kB / 1.233 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.872, allocations: 4.094 kB / 1.233 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009637/0.8729, allocations: 0.5394 MB / 1.234 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.8732, allocations: 148.8 kB / 1.234 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.8733, allocations: 11.97 kB / 1.234 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.8735, allocations: 23.92 kB / 1.234 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.8736, allocations: 27.89 kB / 1.234 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.8736, allocations: 12 kB / 1.234 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002747/0.8739, allocations: 235.2 kB / 1.234 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8739, allocations: 3.938 kB / 1.234 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000467/0.8743, allocations: 84 kB / 1.234 GB, free: 1.367 MB / 0.9356 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.001263/0.8756, allocations: 1.092 MB / 1.236 GB, free: 232 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.8767, allocations: 0.6157 MB / 1.236 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8767, allocations: 0 / 1.236 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.8773, allocations: 420.1 kB / 1.237 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.8781, allocations: 130.3 kB / 1.237 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.8838, allocations: 3.736 MB / 1.24 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.8844, allocations: 0.8269 MB / 1.241 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.8847, allocations: 79.36 kB / 1.241 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.8849, allocations: 131.4 kB / 1.241 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of SimCode: time 1.533e-06/0.8849, allocations: 0 / 1.241 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03843/0.9234, allocations: 8.353 MB / 1.249 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.63, allocations: 7.297 kB / 1.249 GB, free: 1.781 MB / 0.9512 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 17.519245396368206]